Clay Mitchell
Clay Mitchell
Why is this closed? This is definitely a bug / issue - I'm running into it now, is there a proposed solution? Unfortunate, "change the database" isn't an option for...
It also impacts update statements, and I don't believe there's a way to override that. -Clay On Sun, Mar 22, 2015 at 12:47 PM, Ricardo Graça [email protected] wrote: > The...
Correct. If i set my idAttribute to "categoryId", I get this: ``` chart.set('categoryId', id); sql: 'update "category_chart" set ... where "categoryId" = $8', Unhandled rejection error: column "categoryId" does not...
``` var CategoryChart = BaseObject.extend({ tableName: "category_chart", idAttribute: "category_id" // idAttribute: "categoryId" }); var chart = new CategoryChart(); // this doesn't work either // var chart = CategoryChart.forge({categoryId:id}); chart.set('categoryId', id);...
This pretty much breaks any sort of updates if you mix camelcase and snake, which is going to happen pretty much any time you work with legacy systems. This should...
And #642 is closed too. Not sure I understand how they handle issues here :)
Thank you! I was sitting here staring at my project trying to figure if I needed to rip out bookshelf or try to change my database.
has there been any progress on this? anything i can do to help test?
So, best just not to use classes? That's disappointing. -Clay On Wed, May 27, 2015 at 8:36 AM, Ben Drucker [email protected] wrote: > ## Bookshelf expects `tableName` to be on...
Try clicking on Query first, then tab over to Indexers. Then hit down.