How to use functions in Oriento Query Builder where clauses?

230 views Asked by At

How do I write following example from the OrientDB docs using the Oriento Query Builder (part of Oriento the OrientDB driver for node.js)?

select name.toLowerCase() == 'luke' from Actors

Thanks for the help.

1

There are 1 answers

0
codemix On BEST ANSWER
db.select().from('Actors').where('name.toLowerCase() = :name').addParam('name', 'luke').all();