ColumnTypetypeno test imports ittype ColumnType = "int" | "text" | "bool" | "timestamp";The types a column has.
The tables of the language (commons anyfs-query 0002-query-language FR-002): files, content, revisions and places, each with its columns and their types, in order. A table is data; the planner reads which columns a filter touches from here, and the catalog the binder resolves names against is made from it.
ColumnTypetypeno test imports ittype ColumnType = "int" | "text" | "bool" | "timestamp";The types a column has.
TABLE_NAMESconstconst TABLE_NAMES: readonly ["files", "content", "revisions", "places"]The tables of the language.
TableNametypeno test imports ittype TableName = (typeof TABLE_NAMES)[number];One table of the language.
Columnstypeno test imports ittype Columns = Readonly<Record<string, ColumnType>>;A table's columns, in order, with their types.
FILE_COLUMNSconstno test imports itconst FILE_COLUMNS: { readonly place: "text"; readonly path: "text"; readonly name: "text"; readonly ext: "text"; readonly size: "int"; readonly media_type: "text"; readonly mtime: "timestamp"; readonly rev: "text"; readonly kind: "text"; readonly depth: "int"; }The columns of a listing: what a store says of an object without reading it.
CONTENT_ONLY_COLUMNSconstno test imports itconst CONTENT_ONLY_COLUMNS: { readonly text: "text"; readonly is_text: "bool"; readonly redacted: "bool"; }The columns only a read of an object gives.
TABLE_COLUMNSconstconst TABLE_COLUMNS: Readonly<Record<"content" | "files" | "places" | "revisions", Readonly<Record<string, ColumnType>>>>The columns of every table.
columnNamesconstconst columnNames: (table: "content" | "files" | "places" | "revisions") => readonly string[]The columns of a table in order.
READ_COLUMNSconstno test imports itconst READ_COLUMNS: ReadonlySet<string>The columns that need a read of the object: a filter on one of them cannot be answered from a listing.
isTableNameconstno test imports itconst isTableName: (text: string) => text is "content" | "files" | "places" | "revisions"Whether a text is the name of a table.