UserServiceStore.ts overview
Drizzle UserServiceStore, for UserService, AccountManagementService and AdminService: get is UserStore’s projection, update writes the user whole in one UPDATE, and delete removes the row only. It takes Tables or a defineSchema mapping, as UserStore does.
Exports Grouped by Category
utils
layer
UserServiceStore backed by drizzle, on top of DrizzleDatabase.
Signature
declare const layer: (schema?: SchemaInput) => Layer.Layer<Auth.User.UserServiceStore, never, DrizzleDatabase>
make
Build a UserServiceStore over the ambient DrizzleDatabase.
Signature
declare const make: (
schema?: SchemaInput
) => Effect.Effect<typeof Auth.User.UserServiceStore.Service, never, DrizzleDatabase>