I have an issue when using regular expressions in SQL, eg via similar to and {}, because the format() resolution thinks this points towards a parameter. There should at least be an option to pass the raw sql in Query. Currently I circumvent the issue with using db.query instead of db.send_query, which then needs separate boilerplate code for passing the right query.