(
trx: Transaction<Database>,
ownerId: number,
)
| 355 | }) |
| 356 | |
| 357 | async function insertPet( |
| 358 | trx: Transaction<Database>, |
| 359 | ownerId: number, |
| 360 | ): Promise<void> { |
| 361 | await trx |
| 362 | .insertInto('pet') |
| 363 | .values({ |
| 364 | name: `Pet of ${ownerId}`, |
| 365 | owner_id: ownerId, |
| 366 | species: 'cat', |
| 367 | }) |
| 368 | .execute() |
| 369 | } |
| 370 | |
| 371 | async function insertPerson( |
| 372 | trx: Transaction<Database>, |
no test coverage detected
searching dependent graphs…