in reply to Re: Placeholders and NOW()
in thread Placeholders and NOW()
Instead of using a parameter that you'll bind at execute() time to the current time, include it instead directly in the query. For example,
INSERT INTO t (msg, ts) VALUES(?, NOW())