sql - Postgres 9.3 index involving JSON column -
I have this table structure:
create table user_times (user_id bilitates user ID ), Does not have item_id statement reference id (id), call 1 Jason defaults '[[{{"text": ""}], Cole 2 Jason defaults' [["", "", "text": " "}", "Colle 3 Jason Defaults" {{"text": ""} ', primary key (user_id, item_id)) I will run queries like this: / P> And if so, then what is it? This is the right way to do this, because postgres are throwing an error when trying Because SELECT * to user_items WHERE item_id = '?' col1 is a JSON type.
I suggest using one of the item_id on:
Create E.E.I.ID on item_id (item_id) where call is not 1 < The data type of p> col1 is irrelevant here.
Comments
Post a Comment