Tharos / LeanQuery

www.leanmapper.com
MIT License
6 stars 5 forks source link

QueryHelper::formatSelect does not skip m:hintOnly properties #10

Open rebendajirijr opened 10 years ago

rebendajirijr commented 10 years ago

Inexisting columns are trying to be selected as a result of QueryHelper::formatSelect method which does not ignore 'hint only' properties declared with 'm:hintOnly' flag.

Maybe I've misunderstood the meaning of this flag - how can I declare helper properties/methods which should be skipped? If I use this flag in LeanMapper itself, it works as expected and given properties are ignored during persistence.

rebendajirijr commented 10 years ago

I think I got it - m:hintOnly is not already supported. If I modify QueryHelper::formatSelect method to skip read-only properties, it works.