-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About PDO JSON support #439
Comments
I added the driver name to PdoRepository: for this merge request: (...but that author disappeared) anyway, now driver-specific code is now possible. this must be enabled in config: "enable_json" => true // (or something similar) as even if your db server supports json, you may still may have old schema in place |
also, depending on how invasive the changes are, maybe need another |
Also, when you start working on it, try to make atomic commits:
makes much easier to rebase, do codereview and apply fixes (should put this to CONTRIBUTING.md) |
Yes, our internal current implementation is for mysql, there is a file |
ok |
I prefer composition over inheritance, but anyway, perhaps you submit your code and then I can then refactor to composition and provide fallback to other drivers. |
you mean like trait |
no. but don't bother if you don't understand, I'll take the refactoring on me. |
ok |
@fengqi seems you have not pushed your code yet |
@glensc sry, our focus is on migrating to the GoLang project recently, so i haven’t had time yet. |
@fengqi but i only asked you push your code to some pull request, and can continue from there. |
ok |
@fengqi just push the changes and share the branch. |
I want to provide special support based on the drive name, for example, add
json_support
switch in the PDO configdifferent db JSON syntax will be different, sql may also need to write multiple
known and commonly used mysql >=5.7, postgresql >=9.2, sql server >=2016
The text was updated successfully, but these errors were encountered: