flowquery 1.0.36 → 1.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/flowquery.min.js +1 -1
  2. package/dist/parsing/functions/coalesce.d.ts +0 -1
  3. package/dist/parsing/functions/coalesce.d.ts.map +1 -1
  4. package/dist/parsing/functions/coalesce.js +0 -1
  5. package/dist/parsing/functions/coalesce.js.map +1 -1
  6. package/dist/parsing/functions/date.d.ts +0 -2
  7. package/dist/parsing/functions/date.d.ts.map +1 -1
  8. package/dist/parsing/functions/date.js +0 -2
  9. package/dist/parsing/functions/date.js.map +1 -1
  10. package/dist/parsing/functions/datetime.d.ts +0 -2
  11. package/dist/parsing/functions/datetime.d.ts.map +1 -1
  12. package/dist/parsing/functions/datetime.js +0 -2
  13. package/dist/parsing/functions/datetime.js.map +1 -1
  14. package/dist/parsing/functions/localdatetime.d.ts +0 -2
  15. package/dist/parsing/functions/localdatetime.d.ts.map +1 -1
  16. package/dist/parsing/functions/localdatetime.js +0 -2
  17. package/dist/parsing/functions/localdatetime.js.map +1 -1
  18. package/dist/parsing/functions/localtime.d.ts +0 -2
  19. package/dist/parsing/functions/localtime.d.ts.map +1 -1
  20. package/dist/parsing/functions/localtime.js +0 -2
  21. package/dist/parsing/functions/localtime.js.map +1 -1
  22. package/dist/parsing/functions/temporal_utils.js +1 -1
  23. package/dist/parsing/functions/time.d.ts +0 -2
  24. package/dist/parsing/functions/time.d.ts.map +1 -1
  25. package/dist/parsing/functions/time.js +0 -2
  26. package/dist/parsing/functions/time.js.map +1 -1
  27. package/dist/parsing/functions/timestamp.d.ts +0 -2
  28. package/dist/parsing/functions/timestamp.d.ts.map +1 -1
  29. package/dist/parsing/functions/timestamp.js +1 -4
  30. package/dist/parsing/functions/timestamp.js.map +1 -1
  31. package/docs/flowquery.min.js +1 -1
  32. package/flowquery-py/pyproject.toml +1 -1
  33. package/flowquery-py/src/parsing/functions/coalesce.py +1 -2
  34. package/flowquery-py/src/parsing/functions/date_.py +0 -2
  35. package/flowquery-py/src/parsing/functions/datetime_.py +0 -2
  36. package/flowquery-py/src/parsing/functions/localdatetime.py +0 -2
  37. package/flowquery-py/src/parsing/functions/localtime.py +0 -2
  38. package/flowquery-py/src/parsing/functions/temporal_utils.py +1 -1
  39. package/flowquery-py/src/parsing/functions/time_.py +0 -2
  40. package/flowquery-py/src/parsing/functions/timestamp.py +1 -3
  41. package/flowquery-py/tests/compute/test_runner.py +2 -2
  42. package/flowquery-vscode/flowQueryEngine/flowquery.min.js +1 -1
  43. package/package.json +1 -1
  44. package/src/parsing/functions/coalesce.ts +0 -1
  45. package/src/parsing/functions/date.ts +0 -2
  46. package/src/parsing/functions/datetime.ts +0 -2
  47. package/src/parsing/functions/localdatetime.ts +0 -2
  48. package/src/parsing/functions/localtime.ts +0 -2
  49. package/src/parsing/functions/temporal_utils.ts +1 -1
  50. package/src/parsing/functions/time.ts +0 -2
  51. package/src/parsing/functions/timestamp.ts +1 -5
  52. package/tests/compute/runner.test.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowquery",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "A declarative query language for data processing pipelines.",
5
5
  "main": "dist/index.node.js",
6
6
  "types": "dist/index.node.d.ts",
@@ -3,7 +3,6 @@ import { FunctionDef } from "./function_metadata";
3
3
 
4
4
  /**
5
5
  * Returns the first non-null value from a list of expressions.
6
- * Equivalent to Neo4j's coalesce() function.
7
6
  *
8
7
  * @example
9
8
  * ```
@@ -8,8 +8,6 @@ import { buildDateObject, parseTemporalArg } from "./temporal_utils";
8
8
  * When called with a string argument, parses it as an ISO 8601 date.
9
9
  * When called with a map argument, constructs a date from components.
10
10
  *
11
- * Equivalent to Neo4j's date() function.
12
- *
13
11
  * @example
14
12
  * ```
15
13
  * RETURN date() AS today
@@ -8,8 +8,6 @@ import { buildDatetimeObject, parseTemporalArg } from "./temporal_utils";
8
8
  * When called with a string argument, parses it as an ISO 8601 datetime.
9
9
  * When called with a map argument, constructs a datetime from components.
10
10
  *
11
- * Equivalent to Neo4j's datetime() function.
12
- *
13
11
  * @example
14
12
  * ```
15
13
  * RETURN datetime() AS now
@@ -8,8 +8,6 @@ import { buildDatetimeObject, parseTemporalArg } from "./temporal_utils";
8
8
  * When called with a string argument, parses it as an ISO 8601 datetime.
9
9
  * When called with a map argument, constructs a datetime from components.
10
10
  *
11
- * Equivalent to Neo4j's localdatetime() function.
12
- *
13
11
  * @example
14
12
  * ```
15
13
  * RETURN localdatetime() AS now
@@ -7,8 +7,6 @@ import { buildTimeObject, parseTemporalArg } from "./temporal_utils";
7
7
  * When called with no arguments, returns the current local time.
8
8
  * When called with a string argument, parses it.
9
9
  *
10
- * Equivalent to Neo4j's localtime() function.
11
- *
12
10
  * @example
13
11
  * ```
14
12
  * RETURN localtime() AS now
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  /**
9
- * Computes the ISO day of the week (1 = Monday, 7 = Sunday) matching Neo4j convention.
9
+ * Computes the ISO day of the week (1 = Monday, 7 = Sunday).
10
10
  */
11
11
  function isoDayOfWeek(d: Date): number {
12
12
  const jsDay = d.getDay(); // 0 = Sunday, 6 = Saturday
@@ -7,8 +7,6 @@ import { buildTimeObject, parseTemporalArg } from "./temporal_utils";
7
7
  * When called with no arguments, returns the current UTC time.
8
8
  * When called with a string argument, parses it as an ISO 8601 time.
9
9
  *
10
- * Equivalent to Neo4j's time() function.
11
- *
12
10
  * @example
13
11
  * ```
14
12
  * RETURN time() AS now
@@ -4,17 +4,13 @@ import { FunctionDef } from "./function_metadata";
4
4
  /**
5
5
  * Returns the number of milliseconds since the Unix epoch (1970-01-01T00:00:00Z).
6
6
  *
7
- * Equivalent to Neo4j's timestamp() function.
8
- *
9
7
  * @example
10
8
  * ```
11
9
  * RETURN timestamp() AS ts
12
10
  * ```
13
11
  */
14
12
  @FunctionDef({
15
- description:
16
- "Returns the number of milliseconds since the Unix epoch (1970-01-01T00:00:00Z). " +
17
- "Equivalent to Neo4j's timestamp() function.",
13
+ description: "Returns the number of milliseconds since the Unix epoch (1970-01-01T00:00:00Z).",
18
14
  category: "scalar",
19
15
  parameters: [],
20
16
  output: {
@@ -2039,7 +2039,7 @@ test("Test optional match property access on null node returns null", async () =
2039
2039
  RETURN record.left_id as left_id, record.right_id as right_id
2040
2040
  }
2041
2041
  `).run();
2042
- // When accessing b.name and b is null (no match), should return null like Neo4j
2042
+ // When accessing b.name and b is null (no match), should return null
2043
2043
  const match = new Runner(`
2044
2044
  MATCH (a:Person)
2045
2045
  OPTIONAL MATCH (a)-[:KNOWS]->(b:Person)
@@ -3246,7 +3246,7 @@ test("Test coalesce with property access", async () => {
3246
3246
  });
3247
3247
 
3248
3248
  // ============================================================
3249
- // Temporal / Time Functions (Neo4j-style)
3249
+ // Temporal / Time Functions
3250
3250
  // ============================================================
3251
3251
 
3252
3252
  test("Test datetime() returns current datetime object", async () => {