ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:activerecord:quotenames

$_quoteNames

ADOdb Active Record also honors the $ADODB_QUOTE_FIELDNAMES global variable in ADOdb V5.21. You can also use any of the parameters described there against the $_quoteNames variable

TypeBoolean
Defaultfalse

Description

Setting the value of this class variable to true causes the names of tables and columns to be quoted on insert and update statements, typically used because the names themselves contain reserved words or special characters

Usage

$activeRecord->_quoteNames = true;
v5/activerecord/quotenames.txt · Last modified: 2018/07/21 00:52 by mnewnham