File tree Expand file tree Collapse file tree 2 files changed +40
-1
lines changed
Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 11Changes
22=======
33
4+ 1.22.0
5+ ------
6+
7+ Python 3.13 is now officially supported.
8+
9+ ``JSON `` / ``JSONB `` querying has been significantly improved. For example, if
10+ we have this table:
11+
12+ .. code-block :: python
13+
14+ class RecordingStudio (Table ):
15+ facilities = JSONB()
16+
17+ And the ``facilities `` column contains the following JSON data:
18+
19+ .. code-block :: python
20+
21+ {
22+ " technicians" : [
23+ {" name" : " Alice Jones" },
24+ {" name" : " Bob Williams" },
25+ ]
26+ }
27+
28+ We can get the first technician name as follows:
29+
30+ .. code-block :: python
31+
32+ >> > await RecordingStudio.select(
33+ ... RecordingStudio.facilities[" technicians" ][0 ][" name" ].as_alias(" name" )
34+ ... ).output(load_json = True )
35+ [{' name' : ' Alice Jones' }, ... ]
36+
37+ ``TableStorage `` (used for dynamically creating Piccolo ``Table `` classes from
38+ an existing database) was improved, to support a Dockerised version of Piccolo
39+ Admin, which is coming soon.
40+
41+ -------------------------------------------------------------------------------
42+
4431.21.0
544------
645
Original file line number Diff line number Diff line change 1- __VERSION__ = "1.21 .0"
1+ __VERSION__ = "1.22 .0"
You can’t perform that action at this time.
0 commit comments