[英]What is possible in SOQL but not in SQL?
Are there any functions / keywords / syntax in SOQL queries that does NOT have an equivalent operation in SQL? SOQL 查询中是否有任何函数/关键字/语法在 SQL 中没有等效操作?
Basically, does there exist a SOQL query that you couldn't convert directly into a SQL query?基本上,是否存在无法直接转换为 SQL 查询的 SOQL 查询?
Some differences of SOQL: SOQL的一些区别:
No SELECT *没有 SELECT *
No views没有意见
SOQL read-only SOQL 只读
Limited indexes有限指标
Object-relational mapping is automatic对象关系映射是自动的
Schema changes protected架构更改受保护
Weird question, why do you ask?奇怪的问题,为什么这么问? And which SQL you mean exactly, Oracle, SQL Server flavour, Maria DB or what?
你指的是哪个 SQL、Oracle、SQL Server flavor、Maria DB 还是什么?
I'd say you'll have hard time我会说你会很难过
SELECT Account.Owner.Manager.Profile.Name FROM Opportunity
into "normal" joinsSELECT Account.Owner.Manager.Profile.Name FROM Opportunity
到“正常”连接Task.WhatId
or ContentDocumentLink.LinkedEntityId
Task.WhatId
或ContentDocumentLink.LinkedEntityId
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.