Skip to content

Commit 514a926

Browse files
docs: update link to sql
1 parent 5a37520 commit 514a926

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

docs/docs/content/CHANGELOG.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,10 @@ All notable changes to Rayforce-Py will be documented in this file.
1010

1111
### New Features
1212

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.
2814

2915
- **Vector type inference**: `Vector` now automatically infers the element type from the first item when `ray_type` is not specified.
3016

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
37-
```
38-
3917
2026-01-17 | **[🔗 PyPI](https://pypi.org/project/rayforce-py/0.5.3/)** | **[🔗 GitHub](https://github.com/RayforceDB/rayforce-py/releases/tag/0.5.3)**
4018

4119

0 commit comments

Comments
 (0)