Done
Details
Assignee
Khalilah GambrellKhalilah GambrellReporter
Kathleen MooreKathleen MoorePriority
P3Story Points
3Sprint
NoneDevelopment Team
CorsairFix versions
Release
Quesnelia (R1 2024)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Khalilah Gambrell
Khalilah GambrellReporter
Kathleen Moore
Kathleen MoorePriority
Story Points
3
Sprint
None
Development Team
Corsair
Fix versions
Release
Quesnelia (R1 2024)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created January 25, 2024 at 10:10 PM
Updated October 23, 2024 at 2:00 PM
Resolved March 15, 2024 at 9:37 PM
Current situation or problem: The only operator currently supported for arrays is 'CONTAINS / NOT CONTAINS,' which limits the user to only providing a single value to query against an arrays. This will enable users to find matching records where any of the multiple input values match any values in the array.
In scope:
Building a FQL query that returns results if a database array field contains any of the values in the user-provided array
Building a FQL query that returns results if a database array field does not contain any of the values in the user-provided array
Adding or modifying an operator to support overlapping arrays
Scenario 1: contains any of the values
Given: The following records have these values for Field 1 (array)
Record A: IA, NY, CA
Record B: NY
Record C: CA, FL
When: the following query is executed: Field 1 includes [IA, NY] (exact syntax TBD)
Then: Records A and B are returned; Record C is not returned
Scenario 2: not contain any of the values
Given: The following records have these values for Field 1 (array)
Record A: IA, NY, CA
Record B: NY
Record C: CA, FL, IA
When: the following query is executed: Field 1 does not include [IA, CA, NY] (exact syntax TBD)
Then: No records are returned
Questions/notes:
what should the operator be called? and with what syntax?
https://ebscoinddev.atlassian.net/l/cp/LXRsEALL - includes draft info on naming/syntax/functionality for arrays
Requirements:
Includes any* operator is available for array fields
Not includes any* operator is available for array fields
Karate tests are created and passing