|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /usr/lib64/python2.7/site-packages/django/contrib/gis/db/backends/mysql/ |
Upload File : |
�
r�\c @ sM d d l m Z d d l m Z d d l m Z d e e f d � � YZ d S( i����( t DatabaseOperations( t
WKTAdapter( t BaseSpatialOperationst MySQLOperationsc B s� e Z d Z e Z d Z d Z d Z d Z e Z
e
Z i d d 6d d 6d d
6d d 6d d
6d d 6d d 6d d 6d d 6d d 6d d 6d d 6Z e
e � e
d g � BZ d � Z d � Z d � Z RS( s- django.contrib.gis.db.backends.mysql.compilert mysqls
AsText(%s)t GeomFromWKBt GeomFromTextt MBRContainst
bbcontainst MBROverlapst
bboverlapst MBRWithint containedt containst MBRDisjointt disjointt MBREqualt equalst exactt
MBRIntersectst
intersectst overlapst same_ast
MBRTouchest touchest withint isnullc C s | j S( N( t geom_type( t selft f( ( sQ /tmp/pip-install-XxeQeY/django/django/contrib/gis/db/backends/mysql/operations.pyt geo_db_type$ s c C s2 t | d � r! | j | � } n
d | j } | S( s�
The placeholder here has to include MySQL's WKT constructor. Because
MySQL does not support spatial transformations, there is no need to
modify the placeholder based on the contents of the given value.
t
expressions %s(%%s)( t hasattrt get_expression_columnt from_text( R t valuet sridt placeholder( ( sQ /tmp/pip-install-XxeQeY/django/django/contrib/gis/db/backends/mysql/operations.pyt get_geom_placeholder'