Getting parameters for sqlite3_blob_open from sqlite3_column_XXX functions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Getting parameters for sqlite3_blob_open from sqlite3_column_XXX functions

Sebastian
Hi,
Can you use the results of
  sqlite3_column_database_name
  sqlite3_column_table_name
  sqlite3_column_origin_name
to supply values for the parameters zDb, zTable, zColumn of sqlite3_blob_open?
I've tried, and so far the results look promising.

But the documentation is a bit confusing:        
  Parameter zDb is not the filename that contains the database, but rather the symbolic name of the database...
vs.
  The names returned are the original un-aliased names of the database, ...

Maybe the documentation should be more explicit?
  Parameter zDb ... as returned by sqlite3_column_database_name.
Or at least use the same terms in both pages?
  The names returned are the original un-aliased symbolic name of the database, ...


Sebastian
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users