Skip to content

Model Configuration

dataSource()

dataSource() — returns void

Available in: model Category: Miscellaneous Functions

Use this method to override the data source connection information for this model.

NameTypeRequiredDefaultDescription
datasourcestringyesThe data source name to connect to.
usernamestringnoThe username for the data source.
passwordstringnoThe password for the data source.