auth/role_grant_sql.ts view source
(alias: string): string import {offer_pending_predicate} from '@fuzdev/fuz_app/auth/role_grant_sql.js'; The still-pending predicate for a role grant offer — every
OFFER_TERMINAL_COLUMNS entry IS NULL, AND-joined.
Expiry is not part of it: an expired offer that no sweep has terminated is
still pending here, and each read that must refuse one adds its own
expires_at condition.
alias
the table alias qualifying the columns, or '' for unqualified columns
stringreturns
string the predicate, with no surrounding parentheses