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

Add updateAll & deleteAll criteria implementations #4

Open
eugene-kamenev opened this issue Dec 6, 2016 · 1 comment
Open

Add updateAll & deleteAll criteria implementations #4

eugene-kamenev opened this issue Dec 6, 2016 · 1 comment

Comments

@eugene-kamenev
Copy link
Owner

session.updateAll(QueryableCriteria criteria)
session.deleteAll(QueryableCriteria criteria)

@ekamenev
Copy link

This requires some refactoring with current query implementation that works for building select queries.

  1. Create abstract query, move criteria related code from current implementation to abstract one.
  2. Create 3 types of queries (UpdateQuery, SelectQuery, DeleteQuery) that will extend from default abstract query (orientdb-qb project contains only select & delete query builders for current moment).
  3. add query builder calls for session

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

2 participants