On Tue, 30 Oct 2007 17:28:35 +0700, Dan Kennedy <[EMAIL PROTECTED]> wrote:
>... >Say you want to query statement object >X that has 4 variables, you could do this: > > pTmp = sqlite3_prepare("SELECT ?, ?, ?, ?"); > sqlite3_transfer_bindings(X, pTmp); > /* Use sqlite3_step() etc. to fish values out of pTmp */ > sqlite3_transfer_bindings(pTmp, X); > sqlite3_finalize(pTmp); > >Dan. Very smart indeed! Would it matter much that sqlite3_transfer_bindings() is marked obsolete in the docs, and, as a result, only documented in the source? -- ( Kees Nuyt ) c[_] ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------