Skip to content

Model Configuration

setTableNamePrefix()

setTableNamePrefix() — returns void

Available in: model Category: Miscellaneous Functions

Sets a prefix to prepend to the table name when this model runs SQL queries.

NameTypeRequiredDefaultDescription
prefixstringyesA prefix to prepend to the table name.