doesTableExist method
Implementation
Future<bool> doesTableExist() async {
if (!initialized) throw ArgumentError(C_MUST_INIT);
String sql = sqlCommands.doesTableExist();
print(sql);
try {
RawTableData rawTableData =
await transaction.getConnection().query(sql, FieldData.wee(table_id));
return rawTableData.rowCount > 0;
} on SqlException catch (e) {
throw SqlException(e.sqlExceptionEnum,
cause: e.cause,
sql: sql,
json: smd.getTableByName(tableName)!.toJson());
}
}