logo

SQLite C Interface: Number Of Host Parameters

日期:2008-02-20 12:22 , 点击:261 , 分类:相关知识
相关标签:bind_parameter_count,



SQLite C Interface

Number Of Host Parameters

int sqlite3_bind_parameter_count(sqlite3_stmt*);

Return the largest host parameter index in the precompiled statement given as the argument. When the host parameters are of the forms like ":AAA", "$VVV", "@AAA", or "?", then they are assigned sequential increasing numbers beginning with one, so the value returned is the number of parameters. However if the same host parameter name is used multiple times, each occurrance is given the same number, so the value returned in that case is the number of unique host parameter names. If host parameters of the form "?NNN" are used (where NNN is an integer) then there might be gaps in the numbering and the value returned by this interface is the index of the host parameter with the largest index value.

The prepared statement must not be finalized prior to this routine returning. Otherwise the results are undefined and probably undesirable.

See also lists of Objects, Constants, and Functions.



SQLite C Interface: Number Of Host Parameters 评论

# 昵称:

# 邮箱:

# 标题:

* 请勿发布任何违反国家互联网相关法律法规的内容

    



站内搜索




* 匹配全部


热门排行


最新内容



Copyright © 2008 Sqlite中文实验室 版权所有
蜀ICP备08000081号 -

Powered By xydw.com Page Loaded in:0.310634s