New Discussion

Notifications

You’re not receiving notifications from this thread.

MySQL 8 and Rails 7 JSON fields

1
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?

Join the discussion
Create an account Log in

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.