per page, with , order by , clip by
Results of 1 - 10 of about 93 for Contains (0.105 sec.)
GIS QuerySet API リファレンス 13708
GIS QuerySet API リファレンス 空間のルックアップ (Spatial Lookup) このセクションの空間ルックアップは GeometryField と RasterField 用です。 For an introduction, see the spatial lookups introduction . For an overview of what lookups are compa ... 相当する SQL を示しています。同じパターンがすべての空間ルックアップに適用されます。 ケース ルックアップ 等価なSQL N, B rast__contains=rst ST_Contains(rast, rst) N, B rast__1__contains=(rst, 2) ST_Contains(rast, 1, rst, 2) B, C rast__contains=geom ST_Contai ... ns(ST_Polygon(rast), geom) B, C rast__1__contains=geom ST_Contains(ST_Polygon(rast, 1), geom) B, C poly__contains=rst ST_Contains(poly, ST_Polygon(rst)) B, C poly__contains ... =(rst, 1) ST_Contains(poly, ST_Polygon(rst, 1)) C rast__crosses=rst ST_Crosses(ST_Polygon(rast), ST_Polygon(rst)) C rast__1__crosses=(rst, 2) ST ...
https://man.mtool.work/django/6.1/ref/contrib/gis/geoquerysets.html
PostgreSQL 固有のモデルフィールド 11816
PostgreSQL 固有のモデルフィールド これらのフィールドは全て django.contrib.postgres.fields モジュールから利用できます。 これらのフィールドにインデックスを付ける Index と Field.db_index は両方とも B-tree インデックスを作成しますが、複雑なデー ... 200 ) tags = ArrayField ( models . CharField ( max_length = 200 ), blank = True ) def __str__ ( self ): return self . name contains ArrayField 上で contains ルックアップはオーバーライドされます。返されるオブジェクトは、渡された値がデータの部分集合であるも ... >>> Post . objects . create ( name = "Third post" , tags = [ "tutorial" , "django" ]) >>> Post . objects . filter ( tags__contains = [ "thoughts" ]) <QuerySet [<Post: First post>, <Post: Second post>]> >>> Post . objects . filter ( tags__contains = [ "d ... jango" ]) <QuerySet [<Post: First post>, <Post: Third post>]> >>> Post . objects . filter ( tags__contains = [ "django" , "thoughts" ]) <QuerySet [<Post: First post>]> contained_by これは contains ルックアップの逆です。返されるオ ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/fields.html
GeoDjango データベース API 10030
GeoDjango データベース API 空間バックエンド (Spatial Backend) GeoDjango は現在、次の空間データベースバックエンドを提供しています: django.contrib.gis.db.backends.postgis django.contrib.gis.db.backends.mysql django.contrib.gis.db.backends.ora ... (<field>__<lookup_type>=<parameter>) >>> qs = Zipcode.objects.exclude(...) 例: >>> qs = Zipcode . objects . filter ( poly__contains = pnt ) >>> qs = Elevation . objects . filter ( poly__contains = rst ) この場合、 poly は地理情報フィールド、 contains は空 ... tion.objects.filter(<field>__<lookup_type>=(<raster_input, <band_index>) 例: >>> qs = Elevation . objects . filter ( rast__contains = geom ) >>> qs = Elevation . objects . filter ( rast__contains = rst ) >>> qs = Elevation . objects . filter ( rast__1__c ... ontains = geom ) >>> qs = Elevation . objects . filter ( rast__contains = ( rst , 1 )) >>> qs = Elevation . objects . filter ( rast__1__contains = ( rst , 1 )) 例の左辺では、 rast が地理情報ラス ...
https://man.mtool.work/django/6.1/ref/contrib/gis/db-api.html
Django 2.2.1 リリースノート 9911
Django 2.2.1 リリースノート May 1, 2019 Django 2.2.1 fixes several bugs in 2.2. バグ修正 Fixed a regression in Django 2.1 that caused the incorrect quoting of database user password when using dbshell on Oracle ( #30307 ). Added compatibili ... e template for the technical 500 debug page ( #30324 ). Fixed crash of ordering argument in ArrayAgg and StringAgg when it contains an expression with params ( #30332 ). Fixed a regression in Django 2.2 that caused a single instance fast-delete to not se ... 0 ). Prevented makemigrations from generating infinite migrations for check constraints and partial indexes when condition contains a range object ( #30350 ). Reverted an optimization in Django 2.2 ( #29725 ) that caused the inconsistent behavior of coun ... when using StatReloader ( #30323 ). Fixed a migration crash on Oracle and PostgreSQL when adding a check constraint with a contains , startswith , or endswith lookup (or their case-insensitive variant) ( #30408 ). Fixed a migration crash on Oracle and SQ ...
https://man.mtool.work/django/6.1/releases/2.2.1.html
クエリを作成する 9434
クエリを作成する 一度 データモデル を作成すれば、Django はデータオブジェクトの作成、取得、更新および削除を行えるようにデータベースを抽象化した API を自動的に提供します。本ドキュメントではこの API をどのように用いるかを説明します。多様なモデ ... __startswith = "What" ) >>> q = q . filter ( pub_date__lte = datetime . date . today ()) >>> q = q . exclude ( body_text__icontains = "food" ) >>> print ( q ) この例ではデータベースに3回アクセスしているように見えますが、実際にアクセスしているのは、最終行 ... beatles blog" ) は "Beatles Blog" 、 "beatles blog" 、あるいは "BeAtlES blOG" というタイトルを持つ Blog にもマッチします。 contains case-sensitive な部分一致テストを行います。たとえば、 Entry . objects . get ( headline__contains = "Lennon" ) はだいたい次 ... n honored' にはマッチしても 'today lennon honored' にはマッチしないことに注意してください。 case-insensitive バージョンの icontains もあります。 startswith と endswith それぞれ starts-with と ends-with 検索を行います。case-insensitive バージョン istartsw ...
https://man.mtool.work/django/6.1/topics/db/queries.html
Djangoソースコードレポジトリ 8852
Djangoソースコードレポジトリ Djangoアプリケーションを本番環境にデプロイするときは、 公式パッケージのDjangoリリース をほぼ常に使いたくなるでしょう。 しかし、次期リリースの開発中のコードを試したり、Djangoの開発に貢献したい場合は、Djangoのソー ... ize yourself with the basics of how Git works. Git's website offers downloads for various operating systems. The site also contains vast amounts of documentation . The Django Git repository is located online at github.com/django/django . It contains the ... full source code for all Django releases, which you can browse online. The Git repository includes several branches : main contains the main in-development code which will become the next packaged release of Django. This is where most development activit ... fix and security releases which occur as necessary after the initial release of a feature version. The Git repository also contains tags . These are the exact revisions from which packaged Django releases were produced, since version 1.0. A number of tag ...
https://man.mtool.work/django/6.1/internals/git.html
索引 8495
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... rtapp コマンドラインオプション startproject コマンドラインオプション _ __bool__() (backends.base.SessionBase のメソッド) __contains__() (backends.base.SessionBase のメソッド) (QueryDict のメソッド) __delitem__() (backends.base.SessionBase のメソッド) (Ht ... ager のメソッド) aclear_expired() (backends.base.SessionBase のメソッド) aconfigure_user() (RemoteUserBackend のメソッド) acontains() (django.db.models.query.QuerySet モジュール) ACos (django.db.models.functions のクラス) acount() (django.db.models.query ... egates のクラス) ArrayField (django.contrib.postgres.fields のクラス) arrayfield.contained_by field lookup type arrayfield.contains field lookup type arrayfield.index field lookup type arrayfield.len field lookup type arrayfield.overlap field lookup type ...
https://man.mtool.work/django/6.1/genindex.html
Contributing code 8495
Contributing code So you'd like to write some code, documentation or tests to improve Django? There are several ways you can help Django's development. Tutorials The Django tutorial contains a whole section that walks you step-by-step throu ... じめて貢献する How-to ガイド If you already have some familiarity with the processes and principles, our documentation also contains useful guidance on specific topics: How to submit a patch to Django for new and/or fixed behavior How to write and run tes ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/
GeoDjango チュートリアル 8018
GeoDjango チュートリアル はじめに GeoDjangoは、Django用の標準のcontribモジュールであり、それを世界クラスの地理情報Webフレームワークに変えます。GeoDjangoは、位置情報サービスなどの地理情報Webアプリケーションを作成するのを可能な限り簡単にするこ ... ping.org/downloads/TM_WORLD_BORDERS-0.3.zip ...\> unzip TM_WORLD_BORDERS-0.3.zip ...\> cd ..\.. The world borders ZIP file contains a set of data files collectively known as an ESRI Shapefile , one of the most popular geospatial data formats. When unzipp ... file' successful. 1: TM_WORLD_BORDERS-0.3 (Polygon) ogrinfo tells us that the shapefile has one layer, and that this layer contains polygon data. To find out more, we'll specify the layer name and use the -so option to get only the important summary info ... kup) GeoDjango adds spatial lookups to the Django ORM. For example, you can find the country in the WorldBorder table that contains a particular point. First, fire up the management shell: /  $ python manage.py shell ...\> py manage.py shell ここで、注 ...
https://man.mtool.work/django/6.1/ref/contrib/gis/tutorial.html
GEOS API 7899
GEOS API 背景 GEOS とは? GEOS stands for Geometry Engine - Open Source , and is a C++ library, ported from the Java Topology Suite . GEOS implements the OpenGIS Simple Features for SQL spatial predicate functions and spatial operators. GEOS ... edicate) メソッドは、別の GEOSGeometry インスタンス ( other ) をパラメータとして受け取り、真偽値を返します。 GEOSGeometry. contains ( other ) other.within(this) が True を返した場合に True を返します。 GEOSGeometry. covers ( other ) このジオメトリが指定し ... , ***T**FF* , または ****T*FF* である。 どちらかのジオメトリが空の場合、 False を返します。 この predicate は GEOSGeometry.contains() に似ていますが、より包括的です (つまり、より多くの場合に True を返します) 。特に、 contains() とは異なり、ジオメトリの境 ... 界と内部の点を区別しません。ほとんどの場合、 contains() よりも covers() を優先すべきです。さらに、 covers() は最適化しやすいので、 contains() よりも優れています。 GEOSGeometry. ...
https://man.mtool.work/django/6.1/ref/contrib/gis/geos.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT