Comments (4)
ping @Zizaco
from mongolid.
@iNDicat0r Today, mongolid utilizes arrays instead of stdClass
objects internally. That's why the connection is handled that way (with those driver options). For now what you can do is to open a new connection without the typeMap option to utilize with the other libraries.
The ideal solution would be to wrap the communication with the driver (somewhere near the DataMapper
) to convert any array into stdClass
object (and vice-versa) before persisting or retrieving data in order not to need these strict driver options.
We may make that change in the future. Also you can send a pull request if you wish 😄
from mongolid.
Alright thanks I will try now.
from mongolid.
@iNDicat0r as it is not currently our use case, we will not implement it but feel free to send PRs if you still need it.
from mongolid.
Related Issues (20)
- Mongolid logo HOT 1
- Ioc::make Call to a member function make() on null HOT 14
- Review Cursor and CacheableCursor
- Unsetting a field and updating the model has no effect
- Support for laravel 7
- docs page down? HOT 4
- How use skip() as paginate? HOT 2
- how to simulate query and paginate methods
- Support for explain on Cursor
- Uncaught Error: Class 'Mongolid\Manager' not found... HOT 1
- `Serializer\Type\Converter` performance HOT 2
- Regression: original attributes doesn't work properly in new Active Record object. HOT 1
- Regression: Mongolid referencesMany are not using cache component. HOT 1
- Using hybrid schema for application that needed. HOT 1
- Self relation/referencing feature HOT 1
- Problem with "Setup" mongolid in my project HOT 5
- Create a Contributing.md
- Implement Countable interface for Cursors HOT 2
- Branch strategy 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 mongolid.