I was just going through some of the code in the ORM sample
application so I can start getting up to speed with the CB ORM
functions made available from the Restrictions Class.
I noticed that this sample app uses a convention that I haven't seen
in CB before which is passing in the private argument to the
event.getCollection().
It looks like anything that is returned to a view or internal to the
event handler uses something like prc =
event.getCollection(private=true) and anything passed into the event
handler from the request collection does not pass in the private
argument.
Is this something that is recommended?
I've been using CB for quite some time now but have been so wrapped up
in building our app that I haven't been keeping up with the latest
docs or reading the group as often as I'd like and was just curious
about using a private rc scope like described.
Thanks,
Ben