i have 'contents' table :
id title description
i have 'meta' table stores fields contents :
id content_id field_name field_vaue
my question how can access mymodel->field_name if in contents table know can use hasmany relation it's not satisfy needs.
thanks
use metable
extension package instead: https://github.com/jarektkaczyk/eloquence
if want yourself, check source - bit long show here!
Comments
Post a Comment