drizzle-team / drizzle-orm

Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
https://orm.drizzle.team
Apache License 2.0
24.49k stars 643 forks source link

[FEATURE]: Add support for Postgresql `hstore` data type #1132

Open md-redwan-hossain opened 1 year ago

md-redwan-hossain commented 1 year ago

The hstore (Official Reference) data type is used for storing key-value pairs in a single value. We can add value like the following:

'"paperback" => "243", "publisher" => "postgresqltutorial.com", "language" => "English"'

Json can be used, but nested data can be passed in this case. hstore enforces key-value pairs without nested data and better query support.

JANHMS commented 5 days ago

also interested in this.