sections_fts: 97
This data as json
| rowid | title | content |
|---|---|---|
| 97 | Context object | makeColumnField(context) is called with a context object describing the field. The current context object has these keys: mode - string "insert" or "edit" . database - string or null The database name. table - string or null The table name. tableUrl - string or null The path to the table page, including any configured base URL prefix . column - string The column name. columnType - object or null The configured Datasette column type for this column, if one exists. This is null if no column type has been configured. If present, this object has exactly these keys: type - string The registered column type name , matching the name attribute of the Python ColumnType subclass. config - object Configuration for this specific column type assignment. This is {} if no configuration has been set. sqliteType - string or null The SQLite affinity for this column, if known. This is one of "TEXT" , "INTEGER" , "REAL" , "BLOB" , "NUMERIC" or null if Datasette could not determine the affinity. notNull - boolean True if the column is defined as NOT NULL . isPk - boolean True if this column is part of the table's primary key. defaultExpression - string or null The SQLite default expression for the column, if available. This is null if the column has no SQLite default. For example, a column defined with DEFAULT (datetime('now')) will have "datetime('now')" here. This is the expression from the table schema, not the actual value SQLite will insert. form - HTMLFormElement or null The row insert/edit form element. dialog - HTMLDialogElement or null The modal dialog element. |