简体   繁体   English

如何在Oriento Query Builder where子句中使用函数?

[英]How to use functions in Oriento Query Builder where clauses?

How do I write following example from the OrientDB docs using the Oriento Query Builder (part of Oriento the OrientDB driver for node.js)? 如何使用Oriento查询生成器(Oriento OrientDB驱动程序的node.js驱动程序的一部分)从OrientDB文档编写以下示例?

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

Thanks for the help. 谢谢您的帮助。

db.select().from('Actors').where('name.toLowerCase() = :name').addParam('name', 'luke').all();

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Oriento查询生成器的类似子句 - Oriento query builder like clause 如何从 Firestore 7.24.0 实例中查询具有多个 where 子句的数据? - How to query data with multiple where clauses from a Firestore 7.24.0 instance? 在单个查询中添加多个 where 子句 - Adding multiple where clauses in a single query 避免在Oriento中查询超时(OrientDB的node.js驱动程序) - Avoid query timeout in oriento (node.js driver for OrientDB) 如何为同一行创建多个 where 子句? - How to make multiple where clauses for the same row? 如何在 adonis 查询构建器中只有一列不为空的情况下应用 - How apply where only a column is not null in adonis query builder Firestore 错误:不能在不同属性上使用多个条件 where 子句 - Firestore error: Cannot use multiple conditional where clauses on different properties 如何在没有查询构建器的情况下在 sequelize 中使用绑定参数? - How to use bind parameters in sequelize without query builder? 如何将 where 子句动态添加到使用 nestjs 查询生成器生成的查询中? - How to add a where clause dynamically to query which is generated using nestjs Query Builder? 续集如何查找具有多个where子句和时间戳的行> NOW() - Sequelize how to find rows with multiple where clauses and timestamp > NOW()
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM