MCPcopy
hub / github.com/kysely-org/kysely / run

Function run

test/node/src/logging.test.ts:190–200  ·  view source on GitHub ↗
(db: Kysely<Database>)

Source from the content-addressed store, hash-verified

188}
189
190async function run(db: Kysely<Database>) {
191 try {
192 await db.selectFrom('person').selectAll().execute()
193 } catch (err) {}
194
195 try {
196 for await (const _ of db.selectFrom('pet').selectAll().stream()) {
197 // noop
198 }
199 } catch (err) {}
200}

Callers 2

logging.test.tsFile · 0.85
#runMigrationsMethod · 0.85

Calls 4

executeMethod · 0.65
selectAllMethod · 0.65
selectFromMethod · 0.65
streamMethod · 0.65

Tested by

no test coverage detected