Skip to content

Commit

Permalink
Add a reference to ref in table's docstring (#1315)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexErrant authored Jan 9, 2025
1 parent 67e413e commit 3192122
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/expression/expression-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,8 @@ export interface ExpressionBuilder<DB, TB extends keyof DB> {
* inner join "pet" on "pet"."owner_id" = "person"."id"
* group by "person"."id"
* ```
*
* If you need a column reference, use {@link ref}.
*/
table<T extends TB & string>(
table: T,
Expand Down

0 comments on commit 3192122

Please sign in to comment.