app.saved_searches
TablaSeguridad a nivel de fila activa
A Gateway user's saved marketplace search (Section 4.4.3 discovery); alerts go out by email and push. Owned by the person, not by an org.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | Sí | The org whose white-label Gateway the search is limited to (Section 4.4.7); NULL searches the whole marketplace.Hace referencia a app.organizations.id |
| person_id | uuid | No | Person who saved the search.Hace referencia a app.people.id |
| name | text | No | Search name. |
| role_type | app.external_role_type | Sí | External role type filter. |
| role_code | text | Sí | Canon role filter.Hace referencia a xpms.role.role_code |
| cat_urid | text | Sí | Canon URID category filter.Hace referencia a xpms.dim_category.cat_urid |
| jurisdiction_id | text | Sí | Jurisdiction filter, including those beneath it.Hace referencia a xpms.jurisdiction.jurisdiction_id |
| starts_after | date | Sí | Earliest start date. |
| ends_before | date | Sí | Latest end date. |
| min_rate_minor | bigint | Sí | Minimum posted pay in minor units. |
| currency_code | character(3) | Sí | Currency of the minimum pay.Hace referencia a private.currencies.currency_code |
| alerts_enabled | boolean | No | True when matches send alerts. |
| deleted_at | timestamp with time zone | Sí | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Sí | Person who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Sí | Person who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| query_text | text | Sí | Words matched against the listing title and description; NULL matches every listing. |
| disc_code | text | Sí | Canon discipline filter: listings whose category belongs to this discipline (A89).Hace referencia a xpms.dim_discipline.disc_code |
| certification_name | text | Sí | Required certification filter: listings with a certification requirement of this name, ignoring case (A89). |
| near_label | text | Sí | Name of the place the distance filter measures from, as the person chose it. |
| near_latitude | double precision | Sí | Latitude in WGS 84 degrees of the place the distance filter measures from. |
| near_longitude | double precision | Sí | Longitude in WGS 84 degrees of the place the distance filter measures from. |
| radius_km | numeric(6,1) | Sí | Distance filter radius in kilometers, up to 500; a listing whose venue is not located never matches it. |