From 777f5a89b24d423e7684b0879ce69a60e0a9e788 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 11 Sep 2020 15:18:43 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'source/part-3-djan?= =?UTF-8?q?go-concepts/models.adoc'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/part-3-django-concepts/models.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/part-3-django-concepts/models.adoc b/source/part-3-django-concepts/models.adoc index 3d721ae..2d09353 100644 --- a/source/part-3-django-concepts/models.adoc +++ b/source/part-3-django-concepts/models.adoc @@ -93,7 +93,9 @@ Wish.objects.filter(name__icontains="test").filter(name__icontains="too") <2> <1> Ca, c'est notre manager. <2> Et là, on chaîne les requêtes pour composer une recherche sur tous les souhaits dont le nom contient (avec une casse insensible) la chaîne "test" et dont le nom contient la chaîne "too". - +=== Aggregate vs. Annotate + +https://docs.djangoproject.com/en/3.1/topics/db/aggregation/ === Metamodèle