You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dbauszus-glx opened this issue
Oct 7, 2024
· 0 comments
Labels
FeatureNew feature requests or changes to the behaviour or look of existing application features.RFCRequest for Comment or Change.SecurityTicket relates to either the authentication process, security headers, and or encryption.
-- Insert new recordINSERT INTO acl (_id, roles, admin, local_object)
VALUES ($1, $2, $3, $4);
-- Update specific fieldUPDATE user_acl
SET locale_object = jsonb_set(locale_object, $2, $3::jsonb)
WHERE _id = $1;
-- Delete fieldUPDATE user_acl
SET locale_object = locale_object - $2,
updated_at = NOW()
WHERE _id = $1;
Performance Considerations
JSONB vs JSON
Using JSONB for better query performance
Enables GIN indexing for complex queries
Binary storage format reduces storage size
The text was updated successfully, but these errors were encountered:
dbauszus-glx
added
Feature
New feature requests or changes to the behaviour or look of existing application features.
Security
Ticket relates to either the authentication process, security headers, and or encryption.
RFC
Request for Comment or Change.
labels
Oct 7, 2024
FeatureNew feature requests or changes to the behaviour or look of existing application features.RFCRequest for Comment or Change.SecurityTicket relates to either the authentication process, security headers, and or encryption.
Database Schema
Table Structure
Performance Considerations
JSONB vs JSON
The text was updated successfully, but these errors were encountered: