Skip to content
Snippets Groups Projects
Commit eb56943e authored by Marcos Pieras's avatar Marcos Pieras Committed by Leonardo
Browse files

feat: adds isnotempty logic

parent 653d2128
No related branches found
Tags v1.17.0
1 merge request!23feat: adds isnotempty logic
Pipeline #144989 passed
......@@ -48,6 +48,8 @@ export function extractLogicCypher(logicQuery: AnyStatement, cacheData: QueryCac
break;
case 'isempty':
return { logic: `(${left} IS NULL OR ${left} = "")`, where: whereLogic };
case 'isnotempty':
return { logic: `(${left} IS NOT NULL AND ${left} <> "")`, where: whereLogic };
case 'lower':
return { logic: `toLower(${left})`, where: whereLogic };
case 'upper':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment