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

Allow a Bean to be returned by general queries (ie. RowsIterator(...)) #20

Open
Nick-Lucas opened this issue Jul 4, 2016 · 0 comments

Comments

@Nick-Lucas
Copy link
Owner

It makes sense that we don't allow a standard Bean to be returned as that would infer that use of Store() or Trash() are valid.

The RowToBean method is therefore useful here, but I'd like to profile the performance like for like.

If internal Bean creation is faster than we should create a QueryBean subclass or similar which Limebean knows not to try and store, and Kind == "" and can't be changed.

@Nick-Lucas Nick-Lucas changed the title Allow a Bean to be return by general queries (ie. RowsIterator(...)) Allow a Bean to be returned by general queries (ie. RowsIterator(...)) Jul 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant