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

Love it! #5

Open
scf37 opened this issue Feb 21, 2017 · 0 comments
Open

Love it! #5

scf37 opened this issue Feb 21, 2017 · 0 comments

Comments

@scf37
Copy link

scf37 commented Feb 21, 2017

I have written similar library for constructing queries based on string interpolator but yours have many interesting features. I think I'll use mix of the two with following features, I hope they will be useful to develop your own library:

  • Scala 2.12
  • outer {} are optional: coll.findOne(m"name:$name")
  • typechecking of field values
  • hand-written recursive descent parser. It is not that difficult to create: https://gist.github.com/scf37/17caf87eacb82d097a06e292a0161f52
  • mongodb scala drivers are not necessary - modern mongo java driver is good enough for Scala
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