You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From forum: https://groups.google.com/forum/#!topic/cqengine-discuss/xhpeTIH0uh0
It should be possible to print queries for debugging purposes.
toString should be implemented consistently across all Query objects.
Original issue reported on code.google.com by ni...@npgall.com on 27 Aug 2013 at 11:03
The text was updated successfully, but these errors were encountered:
Fixed in trunk.
The code:
Query<Car> query = and(
equal(Car.MANUFACTURER, "Toyota"),
equal(Car.COLOR, Car.Color.BLUE),
equal(Car.DOORS, 3)
);
System.out.println(query);
Now prints:
and(equal(Car.manufacturer, Toyota), equal(Car.color, BLUE), equal(Car.doors, 3))
The toString representation of queries, now resembles the representation of
those queries in code (i.e. as constructed using QueryFactory). There is still
some work to be done for toString representation of JOINs.
I'll leave this ticket open until this fix has been released to Maven central.
Original comment by ni...@npgall.com on 27 Aug 2013 at 11:20
Original issue reported on code.google.com by
ni...@npgall.com
on 27 Aug 2013 at 11:03The text was updated successfully, but these errors were encountered: