From cc1d66001fb2668b6cf7690df1650acaaabb9bd4 Mon Sep 17 00:00:00 2001 From: collerek Date: Wed, 23 Sep 2020 11:58:15 +0200 Subject: [PATCH] bump version, update readme --- README.md | 5 +++++ ormar/__init__.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 730444c..2c81815 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,11 @@ notes = await Note.objects.filter(text__icontains="mum").all() # exclude - from ormar >= 0.3.1 notes = await Note.objects.exclude(text__icontains="mum").all() +# startswith, istartswith, endswith, iendswith - from ormar >= 0.3.3 +notes = await Note.objects.filter(text__iendswith="mum.").all() +notes = await Note.objects.filter(text__istartswith="call").all() +notes = await Note.objects.filter(text__startswith="Buy").all() + # .get() note = await Note.objects.get(id=1) diff --git a/ormar/__init__.py b/ormar/__init__.py index aea7bfd..d77460a 100644 --- a/ormar/__init__.py +++ b/ormar/__init__.py @@ -26,7 +26,7 @@ class UndefinedType: # pragma no cover Undefined = UndefinedType() -__version__ = "0.3.2" +__version__ = "0.3.3" __all__ = [ "Integer", "BigInteger",