class EDC_STORABLE_CONNECTION
Summary
Overview
creation features
exported features
Connection management:
Session management:
Fetch direction:
Error management:
Constants:
is_equal (other: EDC_CONNECTION): BOOLEAN
effective function
to freeze signature
disconnect
effective procedure
Disconnect from the data source
is_connected: BOOLEAN
effective function
Is the data source connected?
commit
effective procedure
Commit changed data back to the data source
new_savepoint (name: STRING): EDC_STORABLE_SAVEPOINT
effective function
A new savepoint
rollback
effective procedure
The current implementation is quite brutal because it invalidates any EDC_TABLE reference.
rollback_to (a_savepoint: EDC_STORABLE_SAVEPOINT)
effective procedure
The current implementation is quite brutal because it invalidates any EDC_TABLE reference.
auto_commit: BOOLEAN
writable attribute
True if any data changed is immediately committed
set_auto_commit (a_auto_commit: BOOLEAN)
effective procedure
Sets the auto_commit mode
create_table (a_table: EDC_TABLE)
effective procedure
Create the table in the data source
drop_table (a_table: EDC_TABLE)
effective procedure
Drops the given table
has_table_name (a_table_name: STRING): BOOLEAN
effective function
Does the data source know this table?
table (a_table_name: STRING): EDC_TABLE
effective function
The table in the data source
all_table_names: FAST_ARRAY[STRING]
effective function
The names of all the known tables
set_fetch_direction (a_fetch_direction: INTEGER_32)
effective procedure
Sets the fetch_diection
fetch_direction: INTEGER_32
writable attribute
Direction in which the data is returned
set_error_handler (a_error_handler: PROCEDURE[TUPLE 2[STRING, STRING]])
effective procedure
error_handler: PROCEDURE[TUPLE 2[STRING, STRING]]
writable attribute
Used to emit error messages.
select_data (columns: TRAVERSABLE[EDC_COLUMN]): EDC_SELECT
effective function
Starts a select query that will return data from the data source
insert_data (columns: TRAVERSABLE[EDC_COLUMN]): EDC_INSERT
effective function
Starts an insert query that will insert data in the data source
update_data (columns: TRAVERSABLE[EDC_COLUMN]): EDC_UPDATE
effective function
Starts an update query that will modify some data in the data source
delete_data (columns: TRAVERSABLE[EDC_COLUMN]): EDC_DELETE
effective function
Starts a delete query that will remove some data from the data source
Fetch_forward: INTEGER_32
constant attribute
Fetch_backward: INTEGER_32
constant attribute