Comments (3)
I personally have zero experience with MongoDB, but I'll happily review (and learn in the process) any contributions!
Thanks for your interest!
from odata-query.
At first sight, I feel the main issue would be that for SQLAlchemy and DjangoORM it seems you inspect the ORM declarations to help infer the type conversion to use. That means that a ODM mapping would be useful to do the same job, but there are many and much less useful and used than ORMs mentioned above. I'll look into this a bit deeper and stay in touch
from odata-query.
(Again, I have no MongoDB experience so excuse me if what I say is nonsense)
If there is no "mainstream" ORM/ODM for MongoDB, then perhaps the transformer could just output a "naive" query, unaware of the structure or types of the underlying data.
An earlier version of this library did the same for Django, the only downside was that an error would only be noticed when the query actually fires and the database complains (maybe a column didn't exist or a wrong type was used). So it was pretty hard to show the user a clear error, without mapping every possible database error to a user-friendly error.
The model and type introspection were added later in order to pull some benefits of having the ORM into this library, by catching errors earlier and return meaningful messages to the end user.
If I find some extra time I'll read up a bit on MongoDB, so maybe I can offer some more useful feedback 😄
from odata-query.
Related Issues (20)
- Disambiguate single-item lists from parenthesized expressions.
- Fully type annotate the library HOT 2
- Better support for `ENUM`s HOT 1
- Does the parser support `contains(field, value)` comparisons? HOT 4
- Question about usage. HOT 2
- Outdated docs HOT 2
- Managing more than one entity in `AstToSqlAlchemyClauseVisitor` HOT 3
- Filter not working for uuid column HOT 6
- Remove Athena specific code HOT 3
- Support for SQLAlchemy Core HOT 2
- Support relationship traversal and `any/all` in SQLAlchemy Core
- Implicit Support for SQLAlchemy's Query-API has been removed HOT 5
- Filter on joined relationship not working for legacy Query objects HOT 3
- apply aggregation support HOT 2
- Definition of sqlalchemy functions_ext overrides desired behaviour HOT 2
- Question about integration HOT 1
- `AstToSqlVisitor` can not handle a function call as right hand side of contains-filter HOT 2
- odata geospatial properties HOT 3
- Missing release tags HOT 1
- Integer values are not parsed correctly HOT 5
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 odata-query.