bedquilt
A json object store
bedquilt · A json object store
Overview
| Relationships | |
|---|---|
| Requires | pgcrypto plpgsql plpython3u |
Usage
Sources:
bedquilt — A json object store. Use it when an application needs this specific database capability. Its extension dependencies must be installed and validated first.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
bq_add_constraints(i_coll text, i_jdoc json)is an extension function and returnsboolean.bq_check_id_type(i_jdoc json)is an extension function and returnsVOID.bq_collection_exists(i_coll text)is an extension function and returnsboolean.bq_constraint_name_exists(i_coll text, i_name text)is an extension function and returnsboolean.bq_count(i_coll text, i_doc json)is an extension function and returnsinteger.bq_create_collection(i_coll text)is an extension function and returnsBOOLEAN.bq_delete_collection(i_coll text)is an extension function and returnsBOOLEAN.bq_doc_set_key(i_jdoc json, i_key text, i_val anyelement)is an extension function and returnsjson.bq_find(i_coll text, i_json_query json)is an extension function and returnstable.bq_find_one(i_coll text, i_json_query json)is an extension function and returnstable.bq_find_one_by_id(i_coll text, i_id text)is an extension function and returnstable.bq_generate_id()is an extension function and returnschar.bq_insert(i_coll text, i_jdoc json)is an extension function and returnstext.bq_list_collections()is an extension function and returnstable.
Requirements and Caveats
- The reviewed control file declares default version
2.1.0. - Install the confirmed extension dependencies first:
plpgsql,pgcrypto,plpython3u. - The control file marks the extension as relocatable.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.