db: not to use deprecated escapeInteger/escapeString