I want to know if it is possible to store multiple values in a field in PostgreSQL.
I have a table called Token with the columns id, text and category. category is a multivalued field. Is it necessary to create a separate table for it or is there a way to store it in the Token table?
There are arrays in PostgreSQL. For example:
Now you can insert multiple categories for each row into
token:You can find the rows like: