convexAdapter
convexAdapter<
DataModel>(ctx,config?):AdapterFactory<BetterAuthOptions>
Defined in: packages/better-auth/src/convex/adapter.ts:30
Creates the Convex database adapter for Better Auth.
Type Parameters
Section titled “Type Parameters”DataModel
Section titled “DataModel”DataModel extends GenericDataModel
Parameters
Section titled “Parameters”GenericActionCtx<DataModel>
The Convex action context
config?
Section titled “config?”Optional debug log configuration
debugLogs?
Section titled “debugLogs?”DBAdapterDebugLogOption
Returns
Section titled “Returns”AdapterFactory<BetterAuthOptions>
AdapterFactory