You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// SELECT amount, FORMAT(amount) Amt, convertCurrency(amount) editDate, FORMAT(convertCurrency(amount)) convertedCurrency FROM Opportunity where id = '12345'
12
+
// SELECT FORMAT(MIN(closedate)) Amt FROM opportunity
Copy file name to clipboardExpand all lines: docs/src/components/sample-queries.tsx
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -142,6 +142,30 @@ export default class SampleQueries extends React.Component<ISampleQueriesProps,
142
142
num: 31,
143
143
soql: `SELECT LeadSource, COUNT(Name) FROM Lead GROUP BY LeadSource HAVING COUNT(Name) > 100 and LeadSource > 'Phone'`,
144
144
},
145
+
{
146
+
key: 32,
147
+
num: 32,
148
+
soql: `SELECT Title FROM KnowledgeArticleVersion WHERE PublishStatus='online' WITH DATA CATEGORY Geography__c ABOVE usa__c`,
149
+
},
150
+
{
151
+
key: 33,
152
+
num: 33,
153
+
soql: `SELECT Title FROM Question WHERE LastReplyDate > 2005-10-08T01:02:03Z WITH DATA CATEGORY Geography__c AT (usa__c, uk__c)`,
154
+
},
155
+
{
156
+
key: 34,
157
+
num: 34,
158
+
soql: `SELECT UrlName FROM KnowledgeArticleVersion WHERE PublishStatus='draft' WITH DATA CATEGORY Geography__c AT usa__c AND Product__c ABOVE_OR_BELOW mobile_phones__c`,
159
+
},
160
+
{key: 35,num: 35,soql: `SELECT Name, ID FROM Contact LIMIT 1 FOR VIEW`},
161
+
{key: 36,num: 36,soql: `SELECT Name, ID FROM Contact LIMIT 1 FOR REFERENCE`},
162
+
{key: 37,num: 37,soql: `SELECT Id FROM Account LIMIT 2 FOR UPDATE UPDATE TRACKING`},
163
+
{
164
+
key: 38,
165
+
num: 38,
166
+
soql: `SELECT amount, FORMAT(amount) Amt, convertCurrency(amount) editDate, FORMAT(convertCurrency(amount)) convertedCurrency FROM Opportunity where id = '12345'`,
167
+
},
168
+
{key: 39,num: 39,soql: `SELECT FORMAT(MIN(closedate)) Amt FROM opportunity`},
0 commit comments