Function: createAuthStorage()
createAuthStorage(
config,pool?):Promise<AuthStorage>
Create the configured Better Auth storage backend.
Parameters
Section titled “Parameters”config
Section titled “config”sqlitePath?
Section titled “sqlitePath?”string = ...
storage?
Section titled “storage?”"auto" | "lakebase" | "sqlite" = ...
PgPoolLike
Returns
Section titled “Returns”Promise<AuthStorage>