Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: How to use custom table names for models in CakePHP?
Answer: You can set the 'table' property in your model class to specify a custom table name for that model.

Example:

// public $table = 'my_custom_table';
Is it helpful? Yes No

Most helpful rated by users:

©2026 WithoutBook