fix escape
initilaize Cursor.query
revert
escape datetime.date
fix typo
datetime date escape