inline QString SqlBulkInsert::_escape(const QVariant& v) const { switch (v.type()) { case QVariant::Int: case QVariant::UInt: case QVariant::Double: case QVariant::LongLong: case QVariant::ULongLong: { return v.toString(); } case QVariant::String: { QString result = v.toString(); result.replace("'", "''"); return "'" % result % "'"; } case QVariant::Bool: { return v.toBool() ? _true : _false; } default: throw UnsupportedException(); } }
bool _createFile_Platform(const char* path, bool recursive) { throw UnsupportedException("File Creation is not supported on Windows yet"); return false; }
bool _verifyString(const char* string) { throw UnsupportedException("String verification is not supported on Windows yet"); return false; }
const char* _convertString_Platform(const char* orignalString) { throw UnsupportedException("String Conversion not supported on Windows yet"); return NULL; }
bool _deleteFile_Platform(const char* path) { throw UnsupportedException("File Deletion is not supported on Windows yet"); return false; }