Relative Content

Tag Archive for postgresqlsupabase

Efficiently Matching Complex JSONB Criteria and Notifying Users in PostgreSQL

I am developing a PostgreSQL-based (with Supabase) system where new entries in a cars table must be matched against user-defined preferences stored in a monitoring_preferences table, each containing criteria in JSONB format. Additionally, users can select attributes to monitor via a “facets” table, which specifies JSONB paths against which new car data should be queried.