Skip to content

Commit

Permalink
Update sql.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jan 21, 2025
1 parent 16054fa commit 990c84a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ This returns something like:
];
```

`sql``.values()` is especially useful if duplicate column names are returned in the query results. When using objects (the default), the last column name is used as the key in the object -- but when using `sql``.values()`, each column is present in the array so you can access it by index.
`sql``.values()` is especially useful if duplicate column names are returned in the query results. When using objects (the default), the last column name is used as the key in the object, which means duplicate column names overwrite each other — but when using `sql``.values()`, each column is present in the array so you can access the values of duplicate columns by index.

### `sql``.raw()` format

Expand Down

0 comments on commit 990c84a

Please sign in to comment.