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
Copy file name to clipboardExpand all lines: docs/docs/content/CHANGELOG.md
+1-23Lines changed: 1 addition & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,32 +10,10 @@ All notable changes to Rayforce-Py will be documented in this file.
10
10
11
11
### New Features
12
12
13
-
-**SQL Query Support**: Query tables using familiar SQL syntax with the new `Table.sql()` method. Supports `SELECT`, `UPDATE`, `INSERT`, and `UPSERT` (via `ON CONFLICT`) statements. Requires optional `sqlglot` dependency. See [SQL documentation](./documentation/plugins/sql.md) for details.
14
-
15
-
```python
16
-
# SELECT with WHERE, GROUP BY, ORDER BY
17
-
result = table.sql("SELECT dept, AVG(salary) FROM self WHERE age > 25 GROUP BY dept")
18
-
19
-
# UPDATE with expressions
20
-
result = table.sql("UPDATE self SET salary = salary * 1.1 WHERE rating > 4")
21
-
22
-
# INSERT
23
-
result = table.sql("INSERT INTO self (id, name) VALUES (1, 'Alice'), (2, 'Bob')")
24
-
25
-
# UPSERT (insert or update)
26
-
result = table.sql("INSERT INTO self (id, name) VALUES (1, 'Updated') ON CONFLICT (id) DO UPDATE")
27
-
```
13
+
-**SQL Query Support**: Query tables using familiar SQL syntax with the new `Table.sql()` method. Supports `SELECT`, `UPDATE`, `INSERT`, and `UPSERT` (via `ON CONFLICT`) statements. Requires optional `sqlglot` dependency. See [SQL documentation](https://py.rayforcedb.com/content/documentation/plugins/sql.html) for details.
28
14
29
15
-**Vector type inference**: `Vector` now automatically infers the element type from the first item when `ray_type` is not specified.
30
16
31
-
```python
32
-
# Before: ray_type was required
33
-
v = Vector([1, 2, 3], ray_type=I64)
34
-
35
-
# Now: type is inferred automatically
36
-
v = Vector([1, 2, 3]) # Infers I64 from first element
0 commit comments