Skip to content

Commit 552dec6

Browse files
committed
attempt to add create delete operations
1 parent a52d5fa commit 552dec6

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,3 +286,4 @@ __pycache__/
286286
*.btm.cs
287287
*.odx.cs
288288
*.xsd.cs
289+
/AzureFunctions.Extensions.GoogleBigQuery.DemoProject1/credencials.json
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
using System;
2+
using System.ComponentModel.DataAnnotations.Schema;
3+
using Microsoft.Azure.WebJobs;
4+
5+
namespace AzureFunctions.Extensions.GoogleBigQuery.DemoProject1 {
6+
public static class Function5 {
7+
8+
[Disable]
9+
[FunctionName("Function5")]
10+
public static void Run(
11+
[TimerTrigger("0 */1 * * * *", RunOnStartup = true)]TimerInfo myTimer,
12+
[GoogleBigQuery("MyGoogleBigQueryConfig4")] GoogleBigQueryOperations bigQueryOperations) {
13+
14+
15+
bigQueryOperations.CreateTableAsync();
16+
bigQueryOperations.DeleteTableAsync();
17+
18+
19+
}
20+
}
21+
}

0 commit comments

Comments
 (0)