orientjs
orientjs copied to clipboard
[questions] It's just some questions
Hi guys, first all I would like to thank you about excelent job you are doing here. Well, I'd like to know if it's possible to debug or to see querys in orientjs, besides I'd like to know if it's possible to build querys like that by using native API:
between date and date
>=
<=
etc
How can I do these things?
@tiagodavi yes you can activate debug mode.
var OrientDB = require("orientjs");
var server = OrientDB({
host: 'localhost',
port: 2424,
username: 'root',
password: 'root',
logger : { debug : console.log.bind(console, '[ORIENTDB]')}
});
About the query builder there is support for >= and <=, but it's not documented yet. I will update the docs with some example.
Between is not supported
Thank you @maggiolo00