createTable method
- TableDescription tableDescription
Creates a new table in the geodatabase.
Creating tables is only supported in mobile geodatabases (either created in Pro or via Geodatabase.create). The table name must not already exist in the geodatabase. For additional table name constraints, see TableDescription.tableName.
Parameters:
tableDescription
— The description of the table to create.
Return Value: A Future that returns a GeodatabaseFeatureTable in a loaded state, if one was able to be created.
Implementation
Future<GeodatabaseFeatureTable> createTable(
TableDescription tableDescription,
) {
return _createTable(tableDescription).then((table) {
_geodatabaseAnnotationTables.invalidateCache();
_geodatabaseDimensionTables.invalidateCache();
_geodatabaseFeatureTables.invalidateCache();
return table;
});
}