(
table: QueryTableInput<tableName, row, primaryKey>,
)
| 376 | } |
| 377 | |
| 378 | query< |
| 379 | tableName extends string, |
| 380 | row extends Record<string, unknown>, |
| 381 | primaryKey extends readonly (keyof row & string)[], |
| 382 | >( |
| 383 | table: QueryTableInput<tableName, row, primaryKey>, |
| 384 | ): QueryObject< |
| 385 | QueryTableInput<tableName, row, primaryKey>, |
| 386 | Pretty<QueryColumnTypeMapFromRow<tableName, row>>, |
| 387 | row, |
| 388 | {}, |
| 389 | BoundQueryPhase<'all'> |
| 390 | > { |
| 391 | return createQuery(table)[bindQueryRuntime](this) as QueryObject< |
| 392 | QueryTableInput<tableName, row, primaryKey>, |
| 393 | Pretty<QueryColumnTypeMapFromRow<tableName, row>>, |
| 394 | row, |
| 395 | {}, |
| 396 | BoundQueryPhase<'all'> |
| 397 | > |
| 398 | } |
| 399 | |
| 400 | create<table extends AnyTable>( |
| 401 | table: table, |
no outgoing calls
no test coverage detected