addGeometryColumnsEntry method
void
addGeometryColumnsEntry()
Implementation
void addGeometryColumnsEntry(TableName tableName, String geometryName,
String geometryType, int srid, bool hasZ, bool hasM) {
// geometryless tables should not be inserted into this table.
String sql =
"INSERT INTO $TABLE_GEOMETRY_COLUMNS VALUES (?, ?, ?, ?, ?, ?);";
_sqliteDb.execute(sql, arguments: [
tableName.name,
geometryName,
geometryType,
srid,
hasZ ? 1 : 0,
hasM ? 1 : 0
]);
}