Comments (4)
Hi
In case of ODBC, is it really possible to implement all features that native driver implements?
I am not really familiar with working through ODBC, but I always thought that it applies certain restrictions on how much of API you could use.
And implementing such flexible function could lead to the problem that users won't really know which driver are they using right now, but results could vary based on what backend was decided to be used. Such behaviour could lead to heisenbugs, which are worst kind of bugs 😄
Regarding using ODBC engine at all - community (or we, as part of community) could just implement ODBC backend and use it.
from tortoise-orm.
ODBC is only a common subset, so I assume that some funtionality will not work the same way.
We won't know until we actually test it though. It could be horrible, or it could just work fine.
We still need to separate dialect and connector to make it clean to add (or support adding) GIS dialects. and until that gets off the ground, we might as well test using different drivers, e.g. asyncpg and aiopg.
Then it should be possible to add odbc at a later stage. (even as an external project).
from tortoise-orm.
Could do DB capabilities as part of this, as your ODBC question raised a good point that the connector may support different features, so the capabilities may need to be different for each combination... 🤔
from tortoise-orm.
Hello, I would like to use ODBC as it allows async Oracle connections. Could you point me in the right direction to start work on "... the community (or we, as part of community) could just implement ODBC backend and use it."
from tortoise-orm.
Related Issues (20)
- How can I add a virtual property to Model? and it can be set in controller.
- How to handle the same table self-join subquery
- Decimal field represented in scientific notation when using pydantic_model_creator
- Error on schema generation with several relations
- Optional parameter in pydantic_model_creator does not work after upgrading to pydantic v2 HOT 1
- [BUG:PEP563] tortoise.contrib.pydantic.utils.get_annotations uses incorrect global namespace
- How can i print sql with register_tortoise() in fastapi?
- Default timeout unknown HOT 1
- If datetimefield is not timezone-aware get_or_create fails UNIQUE constraint. HOT 1
- Connection closes if save method was triggered in pytest.
- Can't use check field name HOT 1
- Tortoise ORM tutorial missing context? HOT 4
- Tortoise orm F expression
- Docs request: if `pk` will be unique HOT 1
- Updating config at runtime
- Meta indexes are not created safely
- mssql named instance port number
- Add support for composite primary keys and foreign keys
- Corrupt sql generated when bulk_create method is configured with on_conflict parameter
- https://tortoise.github.io/0.19.1 gives 404 HOT 1
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 tortoise-orm.