Skip to content

Commit

Permalink
fix typos in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed May 30, 2024
1 parent 14af0e3 commit b1de70a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ Added support for a bunch of Postgres functions, like ``Upper``, ``Lower``,
.. code-block:: python
from piccolo.query.functions.string import Upper
>>> await Band.select(Upper(Band.name))
[["name": "PYTHONISTAS"]]
>>> await Band.select(Upper(Band.name, alias="name"))
[{"name": "PYTHONISTAS"}]
And also in ``where`` clauses:

.. code-block:: python
>>> await Band.select().where(Upper(Band.manager.name) == 'GUIDO')
[["name": "Pythonistas"]]
[{"name": "Pythonistas"}]
-------------------------------------------------------------------------------

Expand Down

0 comments on commit b1de70a

Please sign in to comment.