4 ms·
Cool feature indeed, though keep in mind that for it to work you need to have the "virtual field" in the `search_path` of the session user. In PostgREST, we ta
by steve-chavez 8y ago
Cool feature indeed, though keep in mind that for it to work you need to have the "virtual field" in the `search_path` of the session user.
In PostgREST, we take advantage of this behavior to generate queries without the need for extra code to differentiate between a field or "virtual field", we call these "computed columns" though https://postgrest.org/en/v5.0/api.html#computed-columns https://postgrest.org/en/v5.0/api.html#computed-columns.