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",