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
query: `SELECT Id, Name, (SELECT Id, Name FROM Contacts) FROM Account WITH USER_MODE`
1201
+
query: `SELECT Id, Name, (SELECT Id, Name FROM Contacts)
1202
+
FROM Account
1203
+
WITH USER_MODE`
1183
1204
},
1184
1205
{
1185
1206
name: "Complex WHERE",
1186
-
query: `SELECT Id FROM Account WHERE Industry = 'IT' AND ((Name = 'My Account' AND NumberOfEmployees >= 10) OR (Name = 'My Account 2' AND NumberOfEmployees <= 20)) WITH USER_MODE`
1207
+
query: `SELECT Id
1208
+
FROM Account
1209
+
WHERE Industry = 'IT'
1210
+
AND ((Name = 'My Account' AND NumberOfEmployees >= 10)
1211
+
OR (Name = 'My Account 2' AND NumberOfEmployees <= 20))
1212
+
WITH USER_MODE`
1187
1213
},
1188
1214
{
1189
1215
name: "LIKE Patterns",
1190
-
query: `SELECT Id, Name FROM Account WHERE Name LIKE 'Test%' AND BillingCity LIKE '%Francisco%' WITH USER_MODE`
1216
+
query: `SELECT Id, Name
1217
+
FROM Account
1218
+
WHERE Name LIKE 'Test%'
1219
+
AND BillingCity LIKE '%Francisco%'
1220
+
WITH USER_MODE`
1191
1221
},
1192
1222
{
1193
1223
name: "IN Operator",
1194
-
query: `SELECT Id, Name FROM Account WHERE Industry IN ('Technology', 'Healthcare', 'Finance') WITH USER_MODE`
1224
+
query: `SELECT Id, Name
1225
+
FROM Account
1226
+
WHERE Industry IN ('Technology', 'Healthcare', 'Finance')
1227
+
WITH USER_MODE`
1195
1228
},
1196
1229
{
1197
1230
name: "ORDER BY Multiple",
1198
-
query: `SELECT Id, Name, Industry FROM Account ORDER BY Name DESC, Industry ASC LIMIT 50 WITH USER_MODE`
1231
+
query: `SELECT Id, Name, Industry
1232
+
FROM Account
1233
+
ORDER BY Name DESC, Industry ASC
1234
+
LIMIT 50
1235
+
WITH USER_MODE`
1199
1236
},
1200
1237
{
1201
1238
name: "Complex Query",
1202
-
query: `SELECT Id, Name FROM Account WHERE (Industry = 'Technology' OR Industry = 'Healthcare') AND NumberOfEmployees > 100 ORDER BY Name LIMIT 20 WITH USER_MODE`
1239
+
query: `SELECT Id, Name
1240
+
FROM Account
1241
+
WHERE (Industry = 'Technology' OR Industry = 'Healthcare')
1242
+
AND NumberOfEmployees > 100
1243
+
ORDER BY Name
1244
+
LIMIT 20
1245
+
WITH USER_MODE`
1203
1246
},
1204
1247
{
1205
1248
name: "Boolean Fields",
1206
-
query: `SELECT Id, Name FROM Account WHERE IsDeleted = false AND IsPersonAccount = true WITH USER_MODE`
1249
+
query: `SELECT Id, Name
1250
+
FROM Account
1251
+
WHERE IsDeleted = false
1252
+
AND IsPersonAccount = true
1253
+
WITH USER_MODE`
1207
1254
},
1208
1255
{
1209
1256
name: "NULL Checks",
1210
-
query: `SELECT Id, Name FROM Account WHERE ParentId != null AND BillingCity = null WITH USER_MODE`
1257
+
query: `SELECT Id, Name
1258
+
FROM Account
1259
+
WHERE ParentId != null
1260
+
AND BillingCity = null
1261
+
WITH USER_MODE`
1211
1262
},
1212
1263
{
1213
1264
name: "System Mode",
1214
-
query: `SELECT Id, Name, CreatedBy.Id, CreatedBy.Name, Parent.Id, Parent.Name FROM Account WITH SYSTEM_MODE`
0 commit comments