| None | 
getTableMetadata()
Returns the metadata for a given content type
Arguments
| Name | Type | Required | Default | Options | Description | 
| typename | string | Yes |  |  | The name of the content type | 
init()
Arguments
| Name | Type | Required | Default | Options | Description | 
| dsn | string | No | #application.dsn# |  |  | 
| dbtype | string | No | #application.dbtype# |  |  | 
| dbowner | string | No | #application.dbowner# |  |  | 
| loglocation | string | No |  |  |  | 
initialiseGateway()
Creates the gateway for a set of connection parameters
Arguments
| Name | Type | Required | Default | Options | Description | 
| dsn | string | Yes |  |  |  | 
| dbtype | string | Yes |  |  |  | 
| dbowner | string | Yes |  |  |  | 
initialiseTableMetadata()
Initialises and returns table metadata for a given content type
Arguments
| Name | Type | Required | Default | Options | Description | 
| typename | any | Yes |  |  | The package path or type component to process | 
| schema | struct | No |  |  | Use to provide a manually generated schema | 
isDeployed()
Returns True if the table is already deployed
Arguments
| Name | Type | Required | Default | Options | Description | 
| typename | string | Yes |  |  | The name of the content type | 
| dsn | string | No | #application.dsn# |  |  | 
mergeChanges()
Merges two arrays of changes. Yes, this is just an array merge function.
Arguments
| Name | Type | Required | Default | Options | Description | 
| changesA | array | Yes |  |  |  | 
| changesB | array | Yes |  |  |  | 
parseArrayFields()
Parses the data out of cfproperty tag for array properties
Arguments
| Name | Type | Required | Default | Options | Description | 
| data | struct | Yes |  |  |  | 
parseComponentMetadata()
Parses the given component metadata structure and generates metadata that can be used by the DBGateway components.
Arguments
| Name | Type | Required | Default | Options | Description | 
| md | struct | Yes |  |  |  | 
| existing | struct | No | #structnew()# |  | Metadata so far | 
parseProperty()
Parses the data out of cfproperty tag metadata and inserts default values for unspecified attributes
Arguments
| Name | Type | Required | Default | Options | Description | 
| data | struct | Yes |  |  | Struct out of the getMetadata struct for a property | 
| parenttable | string | Yes |  |  | The name of the parent table | 
run()
Simplifies access to gateway specific functions provided by plugins or projects. Returns false if the mixin does not exist.
Arguments
| Name | Type | Required | Default | Options | Description | 
| name | string | Yes |  |  | The name of the mixin function to run | 
| dsn | string | Yes |  |  |  | 
setArrayData()
Passes update an array update to the gateway
Arguments
| Name | Type | Required | Default | Options | Description | 
| typename | string | Yes |  |  | The name of the content type | 
| propertyname | string | Yes |  |  |  | 
| objectid | UUID | Yes |  |  |  | 
| aProperties | array | Yes |  |  |  | 
| dsn | string | Yes |  |  |  | 
setData()
Passes update data to the gateway
Arguments
| Name | Type | Required | Default | Options | Description | 
| typename | string | Yes |  |  | The name of the content type | 
| stProperties | string | Yes |  |  |  | 
| dsn | string | Yes |  |  |  | 
setLogChangeFlags()
Sets the list of the types that are flaged to have all SQL logged
Arguments
| Name | Type | Required | Default | Options | Description | 
| logChanges | string | Yes |  |  |  | 
setLogLocation()
Sets the file to which SQL is logged
Arguments
| Name | Type | Required | Default | Options | Description | 
| logLocation | string | Yes |  |  |  |