@@ -153,48 +153,48 @@ def and_queries(queries):
153
153
154
154
@staticmethod
155
155
def distance_equal (attribute , values , distance , meters = True ):
156
- return str (Query ("distanceEqual" , attribute , [values , distance , meters ]))
156
+ return str (Query ("distanceEqual" , attribute , [[ values , distance , meters ] ]))
157
157
158
158
@staticmethod
159
159
def distance_not_equal (attribute , values , distance , meters = True ):
160
- return str (Query ("distanceNotEqual" , attribute , [values , distance , meters ]))
160
+ return str (Query ("distanceNotEqual" , attribute , [[ values , distance , meters ] ]))
161
161
162
162
@staticmethod
163
163
def distance_greater_than (attribute , values , distance , meters = True ):
164
- return str (Query ("distanceGreaterThan" , attribute , [values , distance , meters ]))
164
+ return str (Query ("distanceGreaterThan" , attribute , [[ values , distance , meters ] ]))
165
165
166
166
@staticmethod
167
167
def distance_less_than (attribute , values , distance , meters = True ):
168
- return str (Query ("distanceLessThan" , attribute , [values , distance , meters ]))
168
+ return str (Query ("distanceLessThan" , attribute , [[ values , distance , meters ] ]))
169
169
170
170
@staticmethod
171
171
def intersects (attribute , values ):
172
- return str (Query ("intersects" , attribute , values ))
172
+ return str (Query ("intersects" , attribute , [ values ] ))
173
173
174
174
@staticmethod
175
175
def not_intersects (attribute , values ):
176
- return str (Query ("notIntersects" , attribute , values ))
176
+ return str (Query ("notIntersects" , attribute , [ values ] ))
177
177
178
178
@staticmethod
179
179
def crosses (attribute , values ):
180
- return str (Query ("crosses" , attribute , values ))
180
+ return str (Query ("crosses" , attribute , [ values ] ))
181
181
182
182
@staticmethod
183
183
def not_crosses (attribute , values ):
184
- return str (Query ("notCrosses" , attribute , values ))
184
+ return str (Query ("notCrosses" , attribute , [ values ] ))
185
185
186
186
@staticmethod
187
187
def overlaps (attribute , values ):
188
- return str (Query ("overlaps" , attribute , values ))
188
+ return str (Query ("overlaps" , attribute , [ values ] ))
189
189
190
190
@staticmethod
191
191
def not_overlaps (attribute , values ):
192
- return str (Query ("notOverlaps" , attribute , values ))
192
+ return str (Query ("notOverlaps" , attribute , [ values ] ))
193
193
194
194
@staticmethod
195
195
def touches (attribute , values ):
196
- return str (Query ("touches" , attribute , values ))
196
+ return str (Query ("touches" , attribute , [ values ] ))
197
197
198
198
@staticmethod
199
199
def not_touches (attribute , values ):
200
- return str (Query ("notTouches" , attribute , values ))
200
+ return str (Query ("notTouches" , attribute , [ values ] ))
0 commit comments