Skip to content

Commit

Permalink
bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed May 30, 2024
1 parent a85b404 commit 14af0e3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
Changes
=======

1.6.0
-----

Added support for a bunch of Postgres functions, like ``Upper``, ``Lower``,
``Length``, and ``Ltrim``. They can be used in ``select`` queries:

.. code-block:: python
from piccolo.query.functions.string import Upper
>>> await Band.select(Upper(Band.name))
[["name": "PYTHONISTAS"]]
And also in ``where`` clauses:

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

1.5.2
-----

Expand Down
2 changes: 1 addition & 1 deletion piccolo/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__VERSION__ = "1.5.2"
__VERSION__ = "1.6.0"

0 comments on commit 14af0e3

Please sign in to comment.