Bind Boolean value in Sqlite
Posted
by milanjansari
on Stack Overflow
See other posts from Stack Overflow
or by milanjansari
Published on 2010-03-16T06:45:57Z
Indexed on
2010/03/16
6:56 UTC
Read the original article
Hit count: 292
Hello,
Anyone have idea about how to bind Boolean in sqlite with objective - c.
i know how to bind int and string but i don't know about boolean value.
sqlite3_bind_int(addStmt, 1, id);
sqlite3_bind_text(addStmt,3 ,[message UTF8String], -1, SQLITE_TRANSIENT);
but how can i bind boolean
value.
Please help me.
Thanks you
© Stack Overflow or respective owner