UNPKG

@cocalc/database

Version:

CoCalc: code for working with our PostgreSQL database

14 lines (13 loc) 280 B
interface Query { token: string; descr?: string; expires?: Date; limit?: number; disabled?: boolean; } export default function registrationTokensQuery(db: { _query: Function; }, options: { delete?: boolean; }[], query: Query): Promise<any>; export {};