j4mie / idiorm

A lightweight nearly-zero-configuration object-relational mapper and fluent query builder for PHP5.
http://j4mie.github.com/idiormandparis/
2.01k stars 369 forks source link

Table Prefix #149

Closed nbonamy closed 11 years ago

nbonamy commented 11 years ago

Hello,

would it be hard to add a "table prefix" feature to idiorm without breaking compatibility with paris?

Thanks for the great stuff!

treffynnon commented 11 years ago

I would suggest overriding the Idiorm class with your own to achieve this. You could override the for_table() method and impose a prefix there.

peter-mw commented 10 years ago

Hello, i would like also table prefix support in the core if possible please