ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:setprefix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
v5:axmls:setprefix [2015/12/19 16:58]
mnewnham
v5:axmls:setprefix [2015/12/19 17:01]
mnewnham
Line 12: Line 12:
 Sets a prefix for database objects Sets a prefix for database objects
  
-Call this method to set a standard prefix that will be prepended to all database tables and indices+Call this method to set a standard prefix that will be prepended to **all database tables and indexes**
  
 If the optional ''​$addUnderscore''​ parameter is set, an underscore is automatically appended to the prefix. If the optional ''​$addUnderscore''​ parameter is set, an underscore is automatically appended to the prefix.
Line 33: Line 33:
 */ */
 </​code>​ </​code>​
 +
 +===== Note =====
 +Some database restrict the length of table and index names. Ensure that the total length of prefix + table name does not exceed that limit.
  
v5/axmls/setprefix.txt · Last modified: 2016/01/13 02:26 by mnewnham