Skip to content
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

Create tables and simple operations with the jsonb datatype #154

Closed
rkarthik007 opened this issue Apr 11, 2018 · 1 comment
Closed

Create tables and simple operations with the jsonb datatype #154

rkarthik007 opened this issue Apr 11, 2018 · 1 comment
Assignees
Labels
kind/enhancement This is an enhancement of an existing feature
Milestone

Comments

@rkarthik007
Copy link
Collaborator

  • Create a table with the jsonb column to hold flexible schema documents:
CREATE TABLE books ( id int PRIMARY KEY, data jsonb );
  • Insert data into it:
INSERT INTO books (id, data) VALUES (1, '{ "name": "ABC", "author": "John Smith" }');
  • Query the data:
SELECT * from books;
SELECT * from books WHERE id=1;
@rkarthik007 rkarthik007 added the kind/enhancement This is an enhancement of an existing feature label Apr 11, 2018
@rkarthik007 rkarthik007 added this to To do in JSON datatype via automation Apr 11, 2018
@rkarthik007 rkarthik007 added this to To Do in YCQL via automation Apr 11, 2018
@rkarthik007 rkarthik007 added this to the v1.0 milestone Apr 11, 2018
@rkarthik007 rkarthik007 moved this from To do to In progress in JSON datatype Apr 12, 2018
@pritamdamania87
Copy link
Contributor

be2d598

YCQL automation moved this from To Do to Done Apr 16, 2018
JSON datatype automation moved this from In progress to Done Apr 16, 2018
jasonyb pushed a commit that referenced this issue Mar 18, 2024
Fix some typos in plunit.c and plvdate.c.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement This is an enhancement of an existing feature
Projects
JSON datatype
  
Done
YCQL
  
Done
Development

No branches or pull requests

2 participants