DBPoolLibSQL gets a database pool appropriate for use with libSQL (a SQLite fork) in testing.
(ctx context.Context, tb testing.TB, schema string)
| 115 | // DBPoolLibSQL gets a database pool appropriate for use with libSQL (a SQLite |
| 116 | // fork) in testing. |
| 117 | func DBPoolLibSQL(ctx context.Context, tb testing.TB, schema string) *sql.DB { |
| 118 | tb.Helper() |
| 119 | |
| 120 | return dbPoolSQLite(ctx, tb, schema, "libsql") |
| 121 | } |
| 122 | |
| 123 | // DBPoolSQLite gets a database pool appropriate for use with SQLite in testing. |
| 124 | func DBPoolSQLite(ctx context.Context, tb testing.TB, schema string) *sql.DB { |
searching dependent graphs…