createTable method
Implementation
Future<SqlDatabaseResult> createTable(MTable mTable) async {
String sql;
if (database is Database) {
sql = mTable.toSQL<Sqlite>();
} else if (database is mysql.MySQLConnection) {
sql = mTable.toSQL<Mysql>();
} else {
throw UnsupportedError(
'Unsupported database type: ${database.runtimeType}');
}
return executeString(sql);
}