Ask A Question

Notifications

You’re not receiving notifications from this thread.

MySQL 8 and Rails 7 JSON fields

Joseph asked in Databases

Rails 7 and MySQL 8 support JSON fields. Migrations support them.

I have been using a combination of raw MySQL and other techniques to extract data. What's the proper ActiveRecord way of searching for fields in a JSON column (and updating as well)?

Are there any lessons that cover this?

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,400+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.