## Uses of Class
com.mckoi.database.DatabaseConnection

Packages that use DatabaseConnection
com.mckoi.database: The core database classes for Mckoi.
com.mckoi.database.interpret: These classes interpret specific SQL statements, such as Insert and Delete.
com.mckoi.database.jdbcserver: Implementation of the DatabaseInterface interface, including classes to handle local (embedded) mode and remote (client/server) mode.

### Uses of DatabaseConnection in com.mckoi.database

Methods in com.mckoi.database that return DatabaseConnection
`DatabaseConnection` Database.`createNewConnection​(User user, DatabaseConnection.CallBack call_back)` Returns a new DatabaseConnection instance that is used against this database.
`DatabaseConnection` TableModificationEvent.`getDatabaseConnection()` Returns the DatabaseConnection that this event fired in.

Methods in com.mckoi.database with parameters of type DatabaseConnection
`void` Database.`execute​(User user, DatabaseConnection database, java.lang.Runnable runner)` Executes database functions from the 'run' method of the given runnable instance on the first available worker thread.
`void` DatabaseConnection.`fireTrigger​(DatabaseConnection database, java.lang.String trigger_name, TriggerEvent evt)` Notifies when a trigger has fired for this user.
`void` TriggerListener.`fireTrigger​(DatabaseConnection database, java.lang.String trigger_name, TriggerEvent trigger_evt)` Notifies that a trigger event fired.
`DatabaseProcedure` Database.`getDBProcedure​(java.lang.String procedure_name, DatabaseConnection connection)` Resolves a procedure name into a DBProcedure object.
`DataTable[]` DatabaseProcedure.`getReadTables​(DatabaseConnection db)` This returns a DataTable[] array that lists the DataTables that are read during this procedure.
`DataTable[]` DatabaseProcedure.`getWriteTables​(DatabaseConnection db)` Returns a DataTable[] array that lists the DataTables that are written to during this procedure.
`void` JoiningSet.`prepare​(DatabaseConnection connection)` Resolves the schema of tables in this joining set.
`void` DataTableDef.`resolveColumnsInArray​(DatabaseConnection connection, java.util.ArrayList list)` Given a list of column names referencing entries in this table, this will resolve each one to its correct form.
`void` Database.`setupSystemFunctions​(DatabaseConnection connection, java.lang.String admin_user)` Sets all the standard functions and procedures available to engine.

Constructors in com.mckoi.database with parameters of type DatabaseConnection
`DatabaseQueryContext​(DatabaseConnection database)` Constructs the QueryContext.
`GTPrivMapDataSource​(DatabaseConnection connection)` Constructor.
`GTSQLTypeInfoDataSource​(DatabaseConnection connection)` Constructor.

### Uses of DatabaseConnection in com.mckoi.database.interpret

Fields in com.mckoi.database.interpret declared as DatabaseConnection
`protected DatabaseConnection` Statement.`database` The Database context.

Methods in com.mckoi.database.interpret with parameters of type DatabaseConnection
`boolean` AlterTable.`checkColumnNamesMatch​(DatabaseConnection db, java.lang.String col1, java.lang.String col2)` Returns true if the column names match.
`Table` SQLQueryExecutor.`execute​(DatabaseConnection connection, SQLQuery query)` Executes the given SQLQuery object on the given DatabaseConnection object.
`static QueryPlanNode` Planner.`formQueryPlan​(DatabaseConnection db, TableSelectExpression expression, com.mckoi.database.interpret.TableExpressionFromSet from_set, java.util.ArrayList order_by)` Forms a query plan (QueryPlanNode) from the given TableSelectExpression and TableExpressionFromSet.
`void` Statement.`init​(DatabaseConnection db, StatementTree stree, SQLQuery query)` Sets up internal variables for this statement for derived classes to use.

Constructors in com.mckoi.database.interpret with parameters of type DatabaseConnection
`FromTableDirectSource​(DatabaseConnection connection, TableQueryDef table_query, java.lang.String unique_name, TableName given_name, TableName root_name)` Constructs the source.
`FromTableSubQuerySource​(DatabaseConnection connection, java.lang.String unique_key, TableSelectExpression table_expression, com.mckoi.database.interpret.TableExpressionFromSet from_set, TableName aliased_table_name)` Constructs the source.

### Uses of DatabaseConnection in com.mckoi.database.jdbcserver

Methods in com.mckoi.database.jdbcserver that return DatabaseConnection
`protected DatabaseConnection` AbstractJDBCDatabaseInterface.`getDatabaseConnection()` Returns the DatabaseConnection objcet for this connection.

Methods in com.mckoi.database.jdbcserver with parameters of type DatabaseConnection
`protected void` AbstractJDBCDatabaseInterface.`init​(User user, DatabaseConnection connection)` Initializes this database interface with a User and DatabaseConnection object.