(profileId, properties, limit = Query.LARGE)
| 198 | } |
| 199 | |
| 200 | export function profileExpandQuery(profileId, properties, limit = Query.LARGE) { |
| 201 | const context = { 'filter:property': properties }; |
| 202 | const path = profileId ? `profiles/${profileId}/expand` : undefined; |
| 203 | return new Query(path, {}, context, 'expand').limit(limit); |
| 204 | } |
| 205 | |
| 206 | export function profileReferencesQuery(profileId) { |
| 207 | return profileExpandQuery(profileId, [], 0); |
no test coverage detected