Add an optional escape parameter to insert() and insert_batch()

"Fixes" #1895
2 files changed