Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/graphile/starter
/ withRootDb
Function
withRootDb
@app/db/__tests__/helpers.ts:66–67 ·
view source on GitHub ↗
(fn: ClientCallback<T>)
Source
from the content-addressed store, hash-verified
64
};
65
66
export
const
withRootDb = <T>(fn: ClientCallback<T>) =>
67
withDbFromUrl(TEST_DATABASE_URL, fn);
68
69
export
const
withUserDb = <T>(
70
fn: (client: PoolClient, user: User) => Promise<T>
Callers
11
user_emails.test.ts
File · 0.90
invite_to_organization.test.ts
File · 0.90
confirm_account_deletion.test.ts
File · 0.90
reset_password.test.ts
File · 0.90
forgot_password.test.ts
File · 0.90
change_password.test.ts
File · 0.90
login.test.ts
File · 0.90
link_or_register_user.test.ts
File · 0.90
really_create_user.test.ts
File · 0.90
withUserDb
Function · 0.85
withAnonymousDb
Function · 0.85
Calls
1
withDbFromUrl
Function · 0.85
Tested by
no test coverage detected