Model Configuration
dataSource()
Signature
Section titled “Signature”dataSource() — returns void
Available in: model
Category: Miscellaneous Functions
Description
Section titled “Description”Use this method to override the data source connection information for this model.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
datasource | string | yes | — | The data source name to connect to. |
username | string | no | — | The username for the data source. |
password | string | no | — | The password for the data source. |