Replies: 7 comments 1 reply
-
@Jogai Basically this is possible. I would not declare this task as trivial. Available right now is: Each SQL Provider create generated columns based on the schema. I guess you expect also writing to columns. Each provider implements a set of methods declared at: Friflo.Json.Fliox/Json/Fliox.Hub/Host/Base/EntityContainer.cs Lines 81 to 93 in fb1c156 All these methods deal with raw JSON. {
"id": 1,
"list": [1,2,3],
"object": { "key": "value" }
} An option would be to disallow entity models with non scalar members. Both conversions add CPU/memory cost and need to be well optimized. Also the query filter conversion - In summary:
|
Beta Was this translation helpful? Give feedback.
-
Start implementation beginning with commit Subsequent commits are prefixed with: |
Beta Was this translation helpful? Give feedback.
-
Finished implementation for 'member columns' (traditional relational) for MySQL & MariaDB: ad9ae30 not publish as nuget package right now. |
Beta Was this translation helpful? Give feedback.
-
Oh wow, that's awesome |
Beta Was this translation helpful? Give feedback.
-
Btw, why don't you utilize pull requests/branching? It seems it's something you would like seeing as you're prefixing your commits with the name of a feature |
Beta Was this translation helpful? Give feedback.
-
Having a relational table schema was a feature request I expected. Even by myself 😀 new MySQLDatabase(db, connection, schema) { TableType = TableType.Relational }; "Btw, why don't you utilize pull requests/branching? It seems it's something you would like seeing as you're prefixing your commits with the name of a feature" I'm a Git noob. Branching would be okay I guess. Pull requests are *ss 😠 |
Beta Was this translation helpful? Give feedback.
-
Published a new set of nuget packages providing the feature for all SQL database providers described in the initial post. |
Beta Was this translation helpful? Give feedback.
-
This seems like a great project. The readme states "Fliox store entities in JSON columns". I was wondering if it would be easy to change the project to (optionally) support storing relational data in the traditional relational way. I have a prototype which I want to move to a more decent architecture, but for me a real relational storage would work best. If it's doable and you're interested I can have a go at it myself if you gave some pointers where it would fit in this project?
Beta Was this translation helpful? Give feedback.
All reactions