SQL Module documentation: execute-prepared documentation out of date?
Hi,
The current function signature for sql:execute-prepared is:
sql:execute($connection as xs:integer, $params as
element(sql:parameters)) as element()*
The signature itself is for a function "execute" and the documentation below the signature mentions a parameter $id that should be the result of sql:prepare, but it is not in the signature.
Can someone (allow me to) update this, please?
Regards,
Ben
Ben,
thanks for the observation, and your offer to update our documentation. I've just confirmed your account, feel free to go!
Christian
PS: external edits to our Wiki are always welcome! We'd prefer to have a completely free Wiki, but due to some tenacious spambots we eventually make accounts mandatory.
Quoted text · Ben Companjen · 20 lines
On Thu, Nov 8, 2012 at 12:04 PM, Ben Companjen <bencompanjen at gmail.com> wrote: > Hi, > > The current function signature for sql:execute-prepared is: > sql:execute($connection as xs:integer, $params as > element(sql:parameters)) as element()* > > The signature itself is for a function "execute" and the documentation > below the signature mentions a parameter $id that should be the result > of sql:prepare, but it is not in the signature. > > Can someone (allow me to) update this, please? > > Regards, > > Ben > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Written for BaseX 7.3. BaseX may have changed since: please check the current documentation.