I've problem with binding current date. I want to use datetime('now')
function as one of inserted value.
I've used something like this:
sqlite3_bind_text(stmt, i + 1, values[i], -1, SQLITE_STATIC);
where values[i]
is char * text = datetime('now')
. But obviously it inserts that text. Is there possibility to bind function like that: datetime('now')
?