Skip to content

Commit

Permalink
fix: Raw builder typos (#1148)
Browse files Browse the repository at this point in the history
* Update sql.ts

* Update sql.ts
  • Loading branch information
Alcas1 authored Sep 17, 2024
1 parent 88d0b8a commit c34093e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/raw-builder/sql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export interface Sql {
* but can also be used for any other identifiers like index names.
*
* You should use {@link Sql.ref | ref} and {@link Sql.table | table}
* instead of this whenever possible as they produce a more sematic
* instead of this whenever possible as they produce a more semantic
* operation node tree.
*
* WARNING! Using this with unchecked inputs WILL lead to SQL injection
Expand All @@ -247,7 +247,7 @@ export interface Sql {
* const columnName = 'first_name'
* const table = 'person'
*
* sql`select ${sql.id(schema, table, columnName)}} from ${sql.id(schema, table)}`
* sql`select ${sql.id(schema, table, columnName)} from ${sql.id(schema, table)}`
* ```
*
* The generated SQL (PostgreSQL):
Expand Down

0 comments on commit c34093e

Please sign in to comment.