Comments (7)
It is actually already in schema, see section TYPECAST. The column type drives this value as default and tells the driver how to configure the database.
from orm.
Hmmm... In this case, my proposal becomes irrelevant =)
from orm.
I can also find your original comments about using one entity for two sources. This is possible as well, check Classless example in tests :)
from orm.
@wolfy-j I understood this after I started reading the source code =)
Therefore, instead of closing the issue, I was just corrected it.
from orm.
OK. I will try to explain it all in the documentation but the hard separation between the entity and it's mapping was a very critical aspect of the design.
I assume it will be more questions when we will describe it in details (60 pages :( ).
Please let me know if you have any high-level questions in the meantime, I would glad to make sure that direction is correct and we do not miss anything.
from orm.
kk. We still have time to talk about this topic on phprussia conf ;)
from orm.
LOL, that too.
from orm.
Related Issues (20)
- 🐛 FK id Column case mismatch
- Heap does not return a new entity after persistState HOT 5
- Migration column with type json is created as text in database (Postgres) 🐛 HOT 1
- 🐛 Some redundant data in serialized entity HOT 1
- `Cycle\Orm\Select` adds a master table prefix before the name of the table to be joined in MtM case HOT 1
- 💡 Parent fiields when fetching entities with JTI
- 🐛 Missing type casting for has many relationships
- 💡 Add extended error message in ClouserHydrator.php
- 🐛 Entity with composite PK of UUIDs isn't inserted properly HOT 4
- 🐛 Exception when trying to use a relation and a regular column on the same property
- 💡 Foreign Keys as Primary Key
- 🐛 BelongsTo with HasOne fails on relation hydration
- 💡 Add NullHeap
- 💡 Add ULID support HOT 5
- 🐛 load null relation with Embeddable
- 🐛 Multiple persistState only works once HOT 1
- BelongsTo relation loads related entity when the relation owner is persisted HOT 2
- 🐛 ManyToMany id typecast gets wrong id HOT 1
- 💡 Support for Querying JSON Columns in Databases for better DX
- 💡 Mass Prunable Functionality for Cycle ORM Entities
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 orm.