vlucas/phpDataMapper

Database engine per mapper/entity

JeromeDane opened this issue · 2 comments

Need a better way of setting table engine ("MyISAM", "InnoDB", etc.) through the mapper class instead of tying it to the adapter, which forces you to create multiple adapters if you want to use multiple engines within a database (which many applications do in order to take advantage of text indexing in MyISAM and the speed/stability of InnoDB..)

There are probably issues I'm unaware of, but I know this is something I've run into. Feel free to comment/close/etc. Just wanted to bring it up.

I totally agree this would be a great feature. I actually already want to use it in a current project that needs MyISAM's FULLTEXT searching capabilities.