SQL Yoga version 1.1.0 build 4 :: Visit website

Printer friendly version

function dbobject_get()

Retrieves a Database Object property.

function dbobject_get pProperty
Parameters
TypeNameDescription
Simple parameter. pProperty Property to get.
OptionalSimple parameter. [pDBKey] Database Object to store created Database Object in. Default is name returned by sqlyoga_getDefaultDatabase().
Description

Properties:

connections: A return delimited list of connections in the Database object.

default connection: The name of the Connection object that is used by default in all SQL Yoga API calls using the Database object.

storage file: The path to the file where dbobject_save will store the Database object.

storage object: A reference to the LiveCode control where dbobject_save will store the Database object.

storage type: "object" or "file" depending on whether the Database object will be stored in a LiveCode object or a file.

table objects behavior: A reference to the LiveCode button that contains the table objects behavior script. This is where you store the code that creates Table, Relationship and Scope objects as well as where you add custom table properties, callbacks, etc.

Return

Value