GeoEco.Datasets.Database

class GeoEco.Datasets.Database

Bases: object

Mixin class that defines methods for creating and deleting tables, and importing tables from one Database into another.

This class is not intended to be instantiated directly. Instead, it is inherited by classes that need the functionality it provides. In addition to inheriting this class, those classes must implement several private functions. Please see the Database source code for more information.

Methods

CreateTable

Creates a table.

CreateTableFromTemplate

Creates a table and adds to it the fields present another table (the template).

DeleteTable

Deletes a table.

ImportTable

Creates a new table from an existing Table, copying some or all of its fields and rows.

TableExists

Returns True if the specified table exists.