Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Add support for the native JSON column type as introduced in MySQL 5.7 #160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bjornpost
Copy link
Collaborator

@bjornpost bjornpost commented Jul 25, 2016

"As of MySQL 5.7.8, MySQL supports a native JSON data type that enables efficient access to data in JSON (JavaScript Object Notation) documents."

This adds support for (un)mashalling JSON column types. Required >5.7.8 to run properly.

@bjornpost
Copy link
Collaborator Author

Travis fails because it runs the tests against 5.6. Not sure how to fix? We could exclude these 5.7+ specific tests from the default testsuite, but that feels a bit like cheating. Also: would be nice if I could access the MySQL version used from the JsonType. That way we could use a text type for <5.7.8, and json for 5.7.8 and up.

@lox @Jud Thoughts?

@bjornpost
Copy link
Collaborator Author

ping @lox @Jud

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant