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 the v1.0 milestone Apr 11, 2018
@pritamdamania87
Copy link
Contributor

be2d598

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
None yet
Development

No branches or pull requests

2 participants