company logo

DBFieldDef :: GetDBStruct - Get database structure

The database structure definition is returned from the field definition. When passing a dictionary handle, the structure definition is updated from the dictionary when required.

Return value:  dbstruct_ptr - Title unknown (   )

Implementation overview

Implementation details

  1. Get updated structure definition
    DBStructDef * DBFieldDef  :: GetDBStruct ( DictionaryHandle &dictionary, uint16 schema_version_w=CUR_VERSION )
    • dictionary - Dictionary handle

      The dictionary handle usually refers to an opened dictionary. To check whether a dictionary is opened one may use the !-operator.

    • schema_version_w - Scheme version

      Schema versions are numbered consecutively beginning with 0. In order to refer to the current schema version, the version value may be set to -1.

      Default: CUR_VERSION
  2. to list
  3. Get database structure without update
    DBStructDef * DBFieldDef  :: GetDBStruct (  )
  4. to list