Qore SchemaReverse Module Reference
1.1
|
A basic class for all SchemaReverse DB object related classes. More...
Public Member Methods | |
constructor (AbstractDatasource ds, string name) | |
Database | database () |
AbstractDatasource | datasource () |
string | name () |
abstract any | toQore () |
Dedicated functionlity to get DB object info into the internal structure is done here. More... | |
string | toString () |
Make a string with Qore code from a structure prepared by AbstractReverseObject::toQore(). More... | |
A basic class for all SchemaReverse DB object related classes.
It provides basic shared functionality for all specialized object related classes.
All inherited classes must implement abstract method AbstractReverseObject::toQore() for object related functionality.
SchemaReverse::AbstractReverseObject::constructor | ( | AbstractDatasource | ds, |
string | name | ||
) |
Setup basic shared attributes.
ds | a AbstractDatasource with DB connection |
name | a string with exact name or regex to match names of DB objects |
Database SchemaReverse::AbstractReverseObject::database | ( | ) |
AbstractDatasource SchemaReverse::AbstractReverseObject::datasource | ( | ) |
string SchemaReverse::AbstractReverseObject::name | ( | ) |
|
pure virtual |
Dedicated functionlity to get DB object info into the internal structure is done here.
All inherited classes must implement this method to get all required DB metadata in proper format
Implemented in SchemaReverse::PackageReverse, SchemaReverse::ProcedureReverse, SchemaReverse::FunctionReverse, SchemaReverse::CodesBaseReverse, SchemaReverse::CodeBaseReverse, SchemaReverse::TablesReverse, SchemaReverse::TableReverse, SchemaReverse::TypesReverse, SchemaReverse::TypeReverse, SchemaReverse::SequencesReverse, and SchemaReverse::SequenceReverse.
string SchemaReverse::AbstractReverseObject::toString | ( | ) |
Make a string with Qore code from a structure prepared by AbstractReverseObject::toQore().