-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collection Helpers #180
Comments
I'm trying to figure out a way to do this too. Tried adding the helpers function to Ground.Collection.prototype, and then setting Mongo.Collection helpers on there, but it doesn't seem to work... probably some sneaky scoping issue!! Any assistance would be very much appreciated :)
The result of that is the
|
Update: |
@richardgsands I am facing the same problem. Are you able to solve this? |
I'm completely new to ground:db and grounded succesfully my database in a cordova app. The app only needs to read, no operations to the database are needed. But I'm using a lot of Collection Helpers (dburles:collection-helpers ) which can't be accessed when grounded (says they are not defined), because the functions aren't attached to the object returned when taken frome the grounded collection. Also I can't attach Collection Helpers to Ground.Collection (says GroundedCollection.helpers is not defined).
I know this problem is connected with the other package but I thought it would be likelier somebody around here knows a workaround for this.
The text was updated successfully, but these errors were encountered: