Database.query should take Query as parameter and not Predicate.
Database.query should take Query as parameter and not Predicate.

With introduction of Query type we should switch to it wherever we
can.

Change-Id: Ia8d8e96453795ab2b4a76c8828fc5d46cf63dabb
Signed-off-by: Grzegorz Kossakowski <bbec47209d89e7dc5d8f006e7151d7e32a4d9bf6@gmail.com>

gkossakowski/gimd