Skip to content

app.saved_searches

TableRow level security on

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.

Primary key: id

Columns of app.saved_searches
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidYesThe org whose white-label Gateway the search is limited to (Section 4.4.7); NULL searches the whole marketplace.References app.organizations.id
person_iduuidNoPerson who saved the search.References app.people.id
nametextNoSearch name.
role_typeapp.external_role_typeYesExternal role type filter.
role_codetextYesCanon role filter.References xpms.role.role_code
cat_uridtextYesCanon URID category filter.References xpms.dim_category.cat_urid
jurisdiction_idtextYesJurisdiction filter, including those beneath it.References xpms.jurisdiction.jurisdiction_id
starts_afterdateYesEarliest start date.
ends_beforedateYesLatest end date.
min_rate_minorbigintYesMinimum posted pay in minor units.
currency_codecharacter(3)YesCurrency of the minimum pay.References private.currencies.currency_code
alerts_enabledbooleanNoTrue when matches send alerts.
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
query_texttextYesWords matched against the listing title and description; NULL matches every listing.
disc_codetextYesCanon discipline filter: listings whose category belongs to this discipline (A89).References xpms.dim_discipline.disc_code
certification_nametextYesRequired certification filter: listings with a certification requirement of this name, ignoring case (A89).
near_labeltextYesName of the place the distance filter measures from, as the person chose it.
near_latitudedouble precisionYesLatitude in WGS 84 degrees of the place the distance filter measures from.
near_longitudedouble precisionYesLongitude in WGS 84 degrees of the place the distance filter measures from.
radius_kmnumeric(6,1)YesDistance filter radius in kilometers, up to 500; a listing whose venue is not located never matches it.