Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Raw builder typos #1148

Merged
merged 2 commits into from
Sep 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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