Skip to content

Restore the StringQuery(String) constructor that was removed between 4.3 and 4.4 #1769

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

Closed
mikereiche opened this issue Jun 29, 2023 · 0 comments · Fixed by #1770
Closed

Restore the StringQuery(String) constructor that was removed between 4.3 and 4.4 #1769

mikereiche opened this issue Jun 29, 2023 · 0 comments · Fixed by #1770

Comments

@mikereiche
Copy link
Collaborator

mikereiche commented Jun 29, 2023

It was removed here :

c6fa4ee

A customer was using it for:

criteriaBuild.append("SELECT META(ord).id AS __id, META(ord).cas AS __cas, "
                    + documentFieldsToSelect + " FROM `order` ord"
                    + unnest.toString() + " WHERE ord.javaClass='com.pepsico.och.orderstore.domain.Order'"
                    + criteria
                    + constraintAppend);
propOrders = couchbaseTemplate.findByQuery(Order.class).matching(new StringQuery(criteriaBuild.toString())).all();
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

Successfully merging a pull request may close this issue.

1 participant