原生查询为执行复杂查询提供了一种功能强大的方法,而且不需要学习新的查询语言或使用复杂对象结构对谓词建模。
Native queries provide a powerful way to execute complex queries without having to learn a new query language or resort to complicated object structures to model a predicate.
大多数开发人员听说过关于反模式的一个很好的例子:结构化查询语言(Structured Query Language,SQL)的错误使用导致 Web 站点受到 SQL 注入攻击。
Most developers have heard of a good example of an anti-pattern: The improper use of Structured Query Language (SQL) libraries that result in SQL injection attacks on Web sites.
关系数据库使用结构化查询语言(Structured Query Language, SQL)以便从多个表和列中提取信息,但是键值存储仅限于对键列的操作。
Relational databases use Structured Query Language (SQL) to pull information from multiple tables and columns, but key-value stores are limited to operations on the key column.
应用推荐