Skip to content

Commit 44f2911

Browse files
author
sjefvanleeuwen
committed
Initial Commit
1 parent 21f681b commit 44f2911

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Executions can be used to execute sql statements such as "INSERT, "DROP TABLE fo
3232

3333
```csharp
3434
var createTable = client.Execute("CREATE TABLE foo (id integer not null primary key, name text)");
35-
var createFiona = client.Execute("INSERT INTO foo(name) VALUES(\"fiona\")");
35+
var createFiona = await client.ExecuteAsync("INSERT INTO foo(name) VALUES(\"fiona\")");
3636
```
3737

3838
## Perform a query
@@ -66,7 +66,7 @@ You can perform multiple sql statements in one transaction. Please use the flag
6666

6767
```csharp
6868
RqLiteFlags maskTransaction = RqLiteFlags.Transaction;
69-
var transaction = client.ExecuteAsync(new string[] {
69+
var transaction = await client.ExecuteAsync(new string[] {
7070
"INSERT INTO foo(name) VALUES(\"gary\")",
7171
"INSERT INTO foo(name) VALUES(\"fred\")"
7272
}, maskTransaction);

0 commit comments

Comments
 (0)