UNPKG

@clickup/ent-framework

Version:

A PostgreSQL graph-database-alike library with microsharding and row-level security

15 lines 658 B
/** * An array of IDs. Notice that: * 1. Node-postgres natively supports this type on read path, but on write path, * we have to stringify by ourselves. * 2. GIN index doesn't support NULL, because PG's "&&" operator (intersection * check) doesn't work with NULLs. But we still allow NULLs in * BigIntArrayType, since to query such values, the user could use a separate * partial index. */ export declare function BigIntArrayType<T extends string | null = string | null>(): { dbValueToJs: (dbValue: T[]) => T[]; stringify: (jsValue: T[]) => string; parse: (str: string) => T[]; }; //# sourceMappingURL=BigIntArrayType.d.ts.map