Repository navigation
Open
Description
| Item | Where | Status in sqlx-odbc | Note |
|---|---|---|---|
| Fill in statement parameters and use the statement cache on the plain query path | sqlx-oldapi#61 | Code exists for OdbcConnection, no tests. Missing for Any |
Merged on 2026-09-28, after sqlx-odbc's last commit on 2026-05-31. It added the five cache tests marked "Added by sqlpage/sqlx-oldapi#61" above. Any does not forward the cache size or clear. sqlx-oldapi prepares every query that has arguments. sqlx-odbc prepares only when persistent is true and the cache is on, and otherwise runs the SQL directly. SQLPage always sets persistent to true |
Any needs the odbc: prefix |
sqlx 0.9 Any |
By design | SQLPage must route bare ODBC connection strings itself |
Any cannot read the DBMS name and has no ODBC kind |
sqlx 0.9 Any |
By design | SQLPage reads the DBMS name through AnyConnection::dbms_name() (connect.rs) and picks placeholders from AnyKind::Odbc. After the switch it must call OdbcConnection::dbms_name() and check backend_name() == "ODBC" |
| sqlx-odbc does not build with sqlx's default features | sqlx-odbc | Bug | sqlx 0.9's default macros feature turns on sqlx-core/offline, which adds a required describe method. sqlx-odbc does not implement it, so cargo check --features sqlx-core/offline fails with E0046. SQLPage must depend on sqlx without macros, or sqlx-odbc must add describe |
Any has no date, time, decimal or UUID types |
sqlx 0.9 Any |
By design | SQLPage cannot use Any to turn rows into JSON. It needs the native OdbcRow. Through Any, sqlx-odbc fails the whole row when any column is a date, time, timestamp, decimal or numeric. SQLPage also reads AnyTypeInfoKind::Odbc, which sqlx 0.9 does not have |
Metadata
Metadata
Assignees
Labels
No labels
Activity
sqlx-oldapi#1