Comments (10)
from sanic-motor.
Thank you for your response, but i still can't get what is wrong with my query i think this package doesn't have support for this type of queries.
from sanic-motor.
did you miss quotes for type
? `{ type: "Point", 'coordinates': [20.44974230, 44.8772 ] }
from sanic-motor.
Yes, i changed that but it still doesn't change anything. Your package helped me a lot, i managed to send data to mongo_db trough Sanic, and now i send qeospetial queries trough Django.
from sanic-motor.
you need use new version sanic.
from sanic-motor.
@lixxu @Lozovaca Please where can i get a comprehensive documentation. Also, how do i pass filters with find
query?
from sanic-motor.
https://sanicframework.org/en/guide/basics/request.html#arguments
https://motor.readthedocs.io/en/stable/api-asyncio/asyncio_motor_collection.html
sanic-motor
only adds some sanic
related args/kwargs, others keeps the same as motor
. Check the source code please.
from sanic-motor.
https://sanicframework.org/en/guide/basics/request.html#arguments
https://motor.readthedocs.io/en/stable/api-asyncio/asyncio_motor_collection.html
sanic-motor
only adds somesanic
related args/kwargs, others keeps the same asmotor
. Check the source code please.
@lixxu When i try this violations = await Violation.find({'speed': {'$gt': 5}})
i get this error: AttributeError: 'dict' object has no attribute 'args'
from sanic-motor.
have you updated sanic to new version?
from sanic-motor.
closed as long time feedback.
from sanic-motor.
Related Issues (13)
- Error in find() when use $gte and $lt HOT 2
- Please Update README.md HOT 1
- UserWarning HOT 2
- warning when sanic run in mulit workers HOT 2
- Import error: 'GEOHAYSTACK' HOT 2
- Error when running more than one test case HOT 7
- TypeError: MotorDatabase object is not callable with motor==2.0.0 HOT 3
- Python3.7 pip install fails - latest version (0.3.2) HOT 2
- Travis fails when trying to install 0.3.3 HOT 2
- 关于find HOT 2
- Connect 2 database??? HOT 2
- find() is not returning results HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sanic-motor.