How to bind dynamic NSNumber Object to SQLite query?

Posted by Thomas Joos on Stack Overflow See other posts from Stack Overflow or by Thomas Joos
Published on 2010-03-25T13:50:30Z Indexed on 2010/03/25 13:53 UTC
Read the original article Hit count: 532

Filed under:
|

hi guys,

I'm wondering how to bind an NSNumber object into a sqlite3 query:

const char *sql = "select name from myTable where section_id=1 order by name ASC";

I have a NSNumber object called 'nmbr' and want to assign its value to the section id..

Thomas

© Stack Overflow or respective owner

Related posts about iphone

Related posts about sqlite3