SqLite is written in C

SqLite therefore uses cstring

Don't bother with seq[char], just use cstring which Nim easily converts to 
string

* * *

Why not copy what db_sqlite has done, and have your own `setupQuery()` which 
calls SqLite's `prepare_v2()`

then you can 
    
    
    var stmt = setupQuery(db, query, args)
    # now step thru the stmt to iterate thru rows of data
    

but don't let me stop you doing things the hard way 

Reply via email to