TableManager class

The TableManager class is responsible for managing table operations.

Constructors

TableManager.new(ConnectionManager connectionManager)
Constructs a TableManager with the given connectionManager.

Properties

connectionManager ConnectionManager
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createTable(String tableName, Map<String, dynamic> columns) Future<Map<String, dynamic>>
Creates a new table in the oydabase with the .
dropTable(String tableName) Future<void>
Drops the specified table from the database.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
selectTable(String tableName) Future<List<Map<String, dynamic>>>
Selects all rows from the specified table and returns them as a list of maps.
tableExists(String tableName) Future<bool>
Checks if the specified table exists in the database.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited