why don't you just use db.table.insert()? anyway, db.executesql() has a "placeholders" parameter that can pass quoted variables just fine!
On Friday, February 27, 2015 at 12:39:50 AM UTC+1, Mat Miles wrote: > > Is it possible to use the DAL to run an INSERT INTO with a select list? I > haven't figured out a way to make this work using db.executesql() because I > need to pass a date to the query. I don't see a way to pass a variable into > db.executesql(). > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

