Skip to content

Commit

Permalink
Updated Recordset (markdown)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasrw committed Oct 31, 2022
1 parent 39b532e commit 72408c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Recordset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Keyword `RECORDSET`

Syntax:
Suggested Syntax:
```sql
RECORDSET OF SELECT ...
```
Expand All @@ -21,7 +21,7 @@ AlaSQL modifier for SELECT queries.
SELECT a, b FROM @data;
-- returns array of objects [{a:1,b:10},{a:2,b:20}]

SELECT RECORDSET a, b FROM @data;
RECORDSET OF SELECT a, b FROM @data;
-- returns array of objects
-- {data:[{a:1,b:10},{a:2,b:20}] , columns:[{columnid:'a'},{columnid:'b'}]}
```
Expand Down

0 comments on commit 72408c2

Please sign in to comment.