Public Member Functions |
|
retval | search (scalar filter) |
retval | getnext () |
| Get the next result record of a previous search().
|
retval | add (scalar record) |
retval | delete (scalar record) |
retval | update (scalar record) |
retval | close () |
| Closes the database connection.
|
DBCapsulator | database (scalar db) |
| Opens a connection to the given database.
|
| connect (hashref dbcfg) |
| Connect to a database using the given database connection.
|
hashref | dbcfg (hashref dbcfg) |
| Get/set the configuration of the current database connection.
|
int | search (BigSWAF::DBCapsulator::SearchFilter filter) |
| Search the database/relation for records matching the given filter.
|
int | add (hashref record) |
| Add a record to the database/relation.
|
| delete (hashref record) |
| Remove a record from the database/relation.
|
| update (hashref record) |
| Update a record in the database/relation.
|
hash | getnext_locallysorted (SearchFilter filter) |
| Returns the next record from a search.
|
void | clear_sortcache (scalar size) |
| Clears and setup the cache used by getnext_locallysorted().
|
retval | schema (scalar name) |
retval | config (scalar cfg) |
| Read a config file defining the data connections.
|
retval | schemadir (scalar dir) |
| Set the directory where DBCapsulator will find meta information for the tables.
|
retval | error (scalar msg) |
| Prints an error message.
|
Member Function Documentation
retval BigSWAF::DBCapsulator::Null::add |
( |
scalar |
record | ) |
|
retval BigSWAF::DBCapsulator::Null::close |
( |
| ) |
|
retval BigSWAF::DBCapsulator::Null::delete |
( |
scalar |
record | ) |
|
retval BigSWAF::DBCapsulator::Null::getnext |
( |
| ) |
|
Get the next result record of a previous search().
The record is a hash with the keys being field names and values being the field values.
- Returns
- result record, undef if none is left
Reimplemented from BigSWAF::DBCapsulator.
retval BigSWAF::DBCapsulator::Null::search |
( |
scalar |
filter | ) |
|
retval BigSWAF::DBCapsulator::Null::update |
( |
scalar |
record | ) |
|
The documentation for this class was generated from the following file: