@adonis-agora/agent
Version:
Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.
11 lines • 497 B
TypeScript
import type { StoreTenantScope } from '../spi/agent-store.js';
/**
* The SQL predicate a tenant scope reads as, over `column` (already quoted, e.g. `"tenant_ref"` or
* `r."tenant_ref"`): `IN (…)`, `OR … IS NULL` when the scope includes rows with no tenant, and a
* predicate matching nothing when the scope is empty.
*/
export declare function tenantPredicate(scope: StoreTenantScope, column?: string): {
sql: string;
bindings: string[];
};
//# sourceMappingURL=tenant-sql.d.ts.map