Return True/False in RQL no matter the database backend
Sqlite does not have a boolean datatype but Postgres does. This means RQL requests retrieving boolean relations will return true/false on postgres and 1/0 on sqlite.
We need to have an abstraction over this to always return true/false no matter the backend.
Edited by Arnaud Vergnet