( table: table, )
| 21 | import { loadRowsWithRelationsForQuery } from './query-execution.ts' |
| 22 | |
| 23 | export function asQueryTableInput<table extends AnyTable>( |
| 24 | table: table, |
| 25 | ): QueryTableInput<TableName<table>, TableRow<table>, TablePrimaryKey<table>> { |
| 26 | return table as unknown as QueryTableInput< |
| 27 | TableName<table>, |
| 28 | TableRow<table>, |
| 29 | TablePrimaryKey<table> |
| 30 | > |
| 31 | } |
| 32 | |
| 33 | export function getPrimaryKeyWhere<table extends AnyTable>( |
| 34 | table: table, |
no outgoing calls
no test coverage detected
searching dependent graphs…