What a PgRest.Function returns.
kind-:void,:scalaror:composite. A function with anyOUT,INOUTorTABLEparameter is:composite, even with a single one.set?- whether it returns a set (SETOF,TABLE)type- the return type'sformat_typetext:recordfor severalOUT/TABLEcolumns, the column's own type for a singleOUT/INOUTparameter (integerforsingle_out_param(num int, OUT num_plus_one int), still:compositewith that one column),schema.tablefor a declared resource returncolumns-{name, type}of the composite type's attributes or of theOUT/INOUT/TABLEparameters. A barerecordhas none, so no select or filter applies to it. A declared resource return has none either: itsresourceis the source of truth.categories-pg_type.typcategoryof each column, by name ("S"string,"E"enum, ...), when introspected; a string or enum column filters with a bare bind, as a resource column doesresource- the registered resource whose table is the composite type