RushOrm
RushOrm copied to clipboard
Foribiding SQLite Reserved Words
Great Library mate Cheers!
So I recently got an error because I got a field named "order" in my entity. Maybe throwing an exception while initializing the Rush would be nice for this (and other reserved words). I would do it myself but I'm not very familiar with the project. But I can try and send you a pull request if you like.
Hi,
Thanks.
This is one of the next features I am looking at adding, the plan is sanitise reserved words. I'm thinking of doing this through the annotation cache so that checking fields only needs to be done once at start up to avoid any performance hit. Looking at doing it in the next week or so.
I think your issue is also covered by this one "Sqlite keywords not handled #20"
Thanks