Package doist.ffs.db

Types

Link copied to clipboard
enum RoleEnum : Enum<RoleEnum>
Link copied to clipboard
object TokenGenerator

Functions

Link copied to clipboard
fun Database.capturingLastInsertId(block: Database.() -> Unit): Long

Runs block, typically an insert, and returns the id of the last inserted row.

Link copied to clipboard
fun Permission.Companion.fromToken(token: String): Permission

Returns the Permission for token, or null if none is applicable.

Properties

Link copied to clipboard
val Database.flags: FlagQueries
Link copied to clipboard
val Database.members: MemberQueries
Link copied to clipboard
val Database.organizations: OrganizationQueries
Link copied to clipboard
val Database.projects: ProjectQueries
Link copied to clipboard
val Database.tokens: TokenQueries
Link copied to clipboard
val Database.users: UserQueries