Skip to content

Commit 53518a5

Browse files
committed
fix: claude update
1 parent 25b19bd commit 53518a5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

CLAUDE.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ A manifest file is a TOML file (e.g., `sqlite.toml`) containing driver metadata
8989

9090
### Query Execution
9191
- `adbc_scan(handle, query, [params := row(...)], [batch_size := N])` - Execute a SELECT query and return results as a table. Supports parameterized queries via the optional `params` named parameter. The optional `batch_size` parameter hints to the driver how many rows to return per batch (default: driver-specific, typically 2048). This is a best-effort hint that may be ignored by drivers that don't support it.
92-
- `adbc_scan_table(handle, table_name, [batch_size := N])` - Scan an entire table by name and return all rows. Convenience function that generates `SELECT * FROM "table_name"` internally. Supports projection pushdown (only requested columns are fetched), filter pushdown (WHERE clauses are pushed to the remote database with parameter binding), cardinality estimation, progress reporting, and column-level statistics for query optimization (distinct count, null count when available from the driver via `AdbcConnectionGetStatistics`).
92+
- `adbc_scan_table(handle, table_name, [catalog := ...], [schema := ...], [batch_size := N])` - Scan an entire table by name and return all rows. Supports optional `catalog` and `schema` parameters for fully qualified table names. Supports projection pushdown (only requested columns are fetched), filter pushdown (WHERE clauses are pushed to the remote database with parameter binding), cardinality estimation, progress reporting, and column-level statistics for query optimization (distinct count, null count, min/max when available from the driver via `AdbcConnectionGetStatistics`).
9393
- `adbc_execute(handle, query)` - Execute DDL/DML statements (CREATE, INSERT, UPDATE, DELETE). Returns affected row count.
9494
- `adbc_insert(handle, table_name, <table>, [mode := ...])` - Bulk insert data from a subquery. Modes: 'create', 'append', 'replace', 'create_append'.
9595

@@ -118,6 +118,12 @@ SELECT * FROM adbc_scan(getvariable('conn')::BIGINT, 'SELECT 1 AS a, 2 AS b');
118118
-- Scan an entire table by name
119119
SELECT * FROM adbc_scan_table(getvariable('conn')::BIGINT, 'test');
120120

121+
-- Scan a table with schema qualification (e.g., PostgreSQL)
122+
SELECT * FROM adbc_scan_table(getvariable('conn')::BIGINT, 'users', schema := 'public');
123+
124+
-- Scan a table with full catalog.schema.table qualification
125+
SELECT * FROM adbc_scan_table(getvariable('conn')::BIGINT, 'users', catalog := 'mydb', schema := 'public');
126+
121127
-- Parameterized query
122128
SELECT * FROM adbc_scan(getvariable('conn')::BIGINT, 'SELECT ? AS value', params := row(42));
123129

0 commit comments

Comments
 (0)