Skip to content

Commit b1de70a

Browse files
committed
fix typos in changelog
1 parent 14af0e3 commit b1de70a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CHANGES.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ Added support for a bunch of Postgres functions, like ``Upper``, ``Lower``,
1010
.. code-block:: python
1111
1212
from piccolo.query.functions.string import Upper
13-
>>> await Band.select(Upper(Band.name))
14-
[["name": "PYTHONISTAS"]]
13+
>>> await Band.select(Upper(Band.name, alias="name"))
14+
[{"name": "PYTHONISTAS"}]
1515
1616
And also in ``where`` clauses:
1717

1818
.. code-block:: python
1919
2020
>>> await Band.select().where(Upper(Band.manager.name) == 'GUIDO')
21-
[["name": "Pythonistas"]]
21+
[{"name": "Pythonistas"}]
2222
2323
-------------------------------------------------------------------------------
2424

0 commit comments

Comments
 (0)