pub trait DatabaseAdapter:
UserOps
+ SessionOps
+ AccountOps
+ VerificationOps
+ OrganizationOps
+ MemberOps
+ InvitationOps
+ TwoFactorOps
+ ApiKeyOps
+ PasskeyOps { }Expand description
Database adapter trait for persistence.
Combines all entity-specific operation traits. Any type that implements
all sub-traits (UserOps, SessionOps, etc.) automatically implements
DatabaseAdapter via the blanket impl.
Use the sub-traits directly when you only need a subset of operations (e.g., a plugin that only accesses users and sessions).