You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ Auth:
41
41
|`delete`|`delete(logical_name, id)`|`None`| Delete one record. |
42
42
|`delete`|`delete(logical_name, list[id])`|`None`| Delete many (sequential). |
43
43
|`query_sql`|`query_sql(sql)`|`list[dict]`| Constrained read-only SELECT via `?sql=`. |
44
-
|`create_table`|`create_table(tablename, schema)`|`dict`| Creates custom table + columns. Friendly name (e.g. `SampleItem`) becomes schema `new_SampleItem`; explicit schema name (contains `_`) used as-is. |
44
+
|`create_table`|`create_table(tablename, schema, solution_unique_name=None)`|`dict`| Creates custom table + columns. Friendly name (e.g. `SampleItem`) becomes schema `new_SampleItem`; explicit schema name (contains `_`) used as-is. Pass `solution_unique_name` to attach the table to a specific solution instead of the default solution. |
45
45
|`create_column`|`create_column(tablename, columns)`|`list[str]`| Adds columns using a `{name: type}` mapping (same shape as `create_table` schema). Returns schema names for the created columns. |
46
46
|`get_table_info`|`get_table_info(schema_name)`| `dict | None` | Basic table metadata by schema name (e.g. `new_SampleItem`). Friendly names not auto-converted. |
0 commit comments