o ºŽÒ_ã@sdZGdd„dƒZdS)zL A collection of utility routines and classes used by the spatial backends. c@s2eZdZdZdZd dd„Zedd„ƒZdd„ZdS) ÚSpatialOperatorzY Class encapsulating the behavior specific to a GIS operation (used by lookups). NcCs||_||_dS)N©ÚopÚfunc)Úselfrr©rúF/usr/lib/python3/dist-packages/django/contrib/gis/db/backends/utils.pyÚ__init__ s zSpatialOperator.__init__cCs|jrdSdS)Nz%(func)s(%(lhs)s, %(rhs)s)z%(lhs)s %(op)s %(rhs)s)r)rrrrÚdefault_templatesz SpatialOperator.default_templatecCs2|jp|jp|j}| |j|jdœ¡|||fS)Nr)Ú sql_templater Úupdaterr)rÚ connectionÚlookupÚtemplate_paramsÚ sql_paramsr rrrÚas_sqls zSpatialOperator.as_sql)NN) Ú__name__Ú __module__Ú __qualname__Ú__doc__r rÚpropertyr rrrrrrs   rN)rrrrrrÚs