… - buffer_with_style() (GEOSGeometry method) - build_absolute_uri() (HttpRequest method) - build_suite() (DiscoverRunner method) - built-in function - django.conf.settings.configure() - django.core.cache.utils.make_template_fragment_key() - django.core.management.call_command() - django.core.serializers.get_serializer() - django.views.decorators.cache.cache_page() - bulk_create() (in module django.db.models.query.QuerySet) - bulk_update() (in module django.db.models.query.QuerySet) - byteorder (WKBWriter attribute) |
743 sections in Django 6.0 Search all versions →
… attribute) - contained - field lookup type - contains - field lookup type - contains() (GEOSGeometry method) - (in module django.db.models.query.QuerySet) - (OGRGeometry method) - (PreparedGeometry method) - contains_aggregate (Expression attribute) - contains_over_clause (Expression attribute) - contains_properly - field lookup …
| | | | --- | --- | | - TabularInline (class in django.contrib.admin) - Tan (class in django.db.models.functions) - Task (class in django.tasks) - task (TaskResult attribute) - task() (in module django.tasks) - task_result (TaskContext attribute) - TaskContext (class …
Reference QuerySet API reference QuerySet APIMethods that return new QuerySets
NOTE: Due to the way the JSON_EXTRACT and JSON_TYPE SQL functions are > implemented on SQLite, and lack of the BOOLEAN data type, > values() will return True, False, and None instead of > "true", "false", and "null" strings for …
Reference QuerySet API reference QuerySet APIMethods that return new QuerySets
values_list(*fields,flat=False,named=False) This is similar to values() except that instead of returning dictionaries, it returns tuples when iterated over.
Reference QuerySet API reference QuerySet APIMethods that return new QuerySets
Example: Always use params instead of embedding values directly into where because params will ensure values are quoted correctly according to your particular backend. For example, quotes will be escaped correctly.
Reference QuerySet API reference QuerySet APIMethods that do not return QuerySets
create(**kwargs) acreate(**kwargs) Asynchronous version: acreate() A convenience method for creating an object and saving it all in one step. Thus: and: are equivalent.
Reference QuerySet API reference QuerySet APIMethods that do not return QuerySets
bulk_create(objs,batch_size=None,ignore_conflicts=False,update_conflicts=False,update_fields=None,unique_fields=None) abulk_create(objs,batch_size=None,ignore_conflicts=False,update_conflicts=False,update_fields=None,unique_fields=None) Asynchronous version: abulk_create() This method inserts the provided list of objects into the database in an efficient manner (generally only 1 query, no matter how many objects there are), and returns created objects as a list, in the …
Reference QuerySet API reference QuerySet APIMethods that do not return QuerySetsiterator()
Oracle and PostgreSQL use server-side cursors to stream results from the database without loading the entire result set into memory. The Oracle database driver always uses server-side cursors.
Reference QuerySet API reference QuerySet APIField lookups
Exact match. If the value provided for comparison is None, it will be interpreted as an SQL NULL (see isnull for more details).
Reference QuerySet API reference QuerySet APIField lookups
Case-insensitive exact match. If the value provided for comparison is None, it will be interpreted as an SQL NULL (see isnull for more details). Example: SQL equivalents: Note the first query will match 'Beatles Blog', 'beatles blog', 'BeAtLes BLoG', etc.
Reference QuerySet API reference QuerySet APIField lookups
Case-sensitive containment test. Example: SQL equivalent: (The exact SQL syntax varies for each database engine.) Note this will match the headline 'Lennon honored today' but not 'lennon honored today'.
Reference QuerySet API reference QuerySet APIField lookups
Case-insensitive containment test. Example: SQL equivalent: (The exact SQL syntax varies for each database engine.) NOTE: When using the SQLite backend and non-ASCII strings, bear in mind the > database note about string comparisons.
Reference QuerySet API reference QuerySet APIField lookups
Greater than. Example: SQL equivalent:
Reference QuerySet API reference QuerySet APIField lookups
Greater than or equal to.
Reference QuerySet API reference QuerySet APIField lookups
Less than.
Reference QuerySet API reference QuerySet APIField lookups
Less than or equal to.
Reference QuerySet API reference QuerySet APIField lookups
Case-sensitive starts-with. Example: SQL equivalent: (The exact SQL syntax varies for each database engine.) SQLite doesn’t support case-sensitive LIKE statements; startswith acts like istartswith for SQLite.
Reference QuerySet API reference QuerySet APIField lookups
Case-insensitive starts-with. Example: SQL equivalent: (The exact SQL syntax varies for each database engine.) NOTE: When using the SQLite backend and non-ASCII strings, bear in mind the > database note about string comparisons.
Reference QuerySet API reference QuerySet APIField lookups
Case-sensitive ends-with. Example: SQL equivalent: (The exact SQL syntax varies for each database engine.) NOTE: SQLite doesn’t support case-sensitive LIKE statements; endswith > acts like iendswith for SQLite. Refer to the database note documentation for more.