Skip to content
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

Composite generation should only pull fields from Mongo that are defined in specification #64

Open
rsinger opened this issue Jun 4, 2015 · 0 comments

Comments

@rsinger
Copy link
Member

rsinger commented Jun 4, 2015

When generating a Composite (Table row, View, Search document), it brings back the entire document in every query (join, etc.). While this likely isn't an issue on the Mongo end (maybe, though!), it's an inefficient use resources on the PHP side (memory, working with a much larger array than necessary, etc.).

If the Mongo query only returned the fields that are defined in the spec, this all becomes a lot more efficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant