Re: Create or define a collection from a JSON column
Hi,
For creating a collection you should use createCollection() method on a selected schema.
In your example it would be:
bd_json.createCollection('tab_vol_json');
You can find more details here:
https://dev.mysql.com/doc/x-devapi-userguide/en/creating-a-collection.html
When you create a table manually like you did, you will have a collection-like behavior
but it is not being recognized as a collection by the X Protocol.
--
Andrzej Religa
MySQL Developer Tools
Subject
Views
Written By
Posted
1412
August 24, 2016 09:14AM
Re: Create or define a collection from a JSON column
795
August 26, 2016 05:53AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.