Sean
Help with Builder - no JSON
I am trying to use the Builder without JSON data. I want to use my existing eloquent relationships for the underlying builder. Is this possible? I tried to create a method on my model to return JSON that is a representation of the underlying database data but it doesn't seem to be recognizing that method. I think it is only pulling from the database a column name that matches the Builder::make("insert field here").
Is what I am after possible? Or am I going to have to change the database architecture of my app?
5 replies