Is there a `sqlite3` C FFI API that allows me to determine which index values are valid to bind to?
The `sqlite3_bind_parameter_*` APIs (count, name, index) do not actually provide the valid indexes. For example: "?, ?10" would have two valid indexes: (1, 10). But how can I know that indexes 2-9 are invalid from the API? I have tried binding null to 2-9, but get SQLITE_OK. I want to be able to check clients have provided all data needed for a query instead having SQLite bind null by default for placeholders with no data binding. Thanks. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users