Obtain Values For URI Parameters

Small. Fast. Reliable.
Choose any three.

About Sitemap Documentation Download License News Support |

## SQLite C Interface

## Obtain Values For URI Parameters

>     const char *sqlite3_uri_parameter(const char *zFilename, const char *zParam);

This is a utility routine, useful to VFS implementations, that checks to see if a database file was a URI that contained a specific query parameter, and if so obtains the value of the query parameter.

The zFilename argument is the filename pointer passed into the xOpen() method of a VFS implementation. The zParam argument is the name of the query parameter we seek. This routine returns the value of the zParam parameter if it exists. If the parameter does not exist, this routine returns a NULL pointer.

If the zFilename argument to this function is not a pointer that SQLite passed into the xOpen VFS method, then the behavior of this routine is undefined and probably undesirable.

See also lists of Objects, Constants, and Functions.