Skip to content

Commit 57f7f78

Browse files
committed
2 parents 3adb74b + 9e80533 commit 57f7f78

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,8 @@ pqnet helloworld.pq
3232
2. Run the following:
3333
```txt
3434
var qry = new Query { Formula = "let hw = \"Hello World\" in hw" };
35-
var req = new ExecuteRequest();
36-
req.Queries.Add(qry);
37-
req.ExecuteOutputFlags = ExecuteOutputFlags.DataTable;
38-
var pqc = new PowerQueryCommand();
39-
var result = pqc.Execute(req);
40-
DataTable dt = result.DataTable;
35+
var pqc = new PowerQueryCommand() { ExecuteOutputFlags = ExecuteOutputFlags.Csv };
36+
var result = pqc.Execute(qry);
4137
```
4238
## Power Query App
4339
Run queries in a standalone application

0 commit comments

Comments
 (0)