码迷,mamicode.com
首页 > 数据库 > 详细

sqlite3_stmt

时间:2020-01-03 18:02:46      阅读:155      评论:0      收藏:0      [点我收藏+]

标签:for   creat   ted   keyword   represent   ogr   set   ack   api   

/*

** CAPI3REF: Prepared Statement Object

** KEYWORDS: {prepared statement} {prepared statements}

**

** An instance of this object represents a single SQL statement that

** has been compiled into binary form and is ready to be evaluated.

**

** Think of each SQL statement as a separate computer program.  The

** original SQL text is source code.  A prepared statement object 

** is the compiled object code.  All SQL must be converted into a

** prepared statement before it can be run.

**

** The life-cycle of a prepared statement object usually goes like this:

**

** <ol>

** <li> Create the prepared statement object using [sqlite3_prepare_v2()].

** <li> Bind values to [parameters] using the sqlite3_bind_*()

**      interfaces.

** <li> Run the SQL by calling [sqlite3_step()] one or more times.

** <li> Reset the prepared statement using [sqlite3_reset()] then go back

**      to step 2.  Do this zero or more times.

** <li> Destroy the object using [sqlite3_finalize()].

** </ol>

*/

typedef struct sqlite3_stmt sqlite3_stmt;

 

sqlite3_stmt

标签:for   creat   ted   keyword   represent   ogr   set   ack   api   

原文地址:https://www.cnblogs.com/feng9exe/p/12146111.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!