Files
pocketbase/ui/dist/assets/fieldsInfo-Bz62125-.js
2026-04-18 16:50:39 +03:00

3 lines
715 B
JavaScript

function e(){return t.div({className:`api-fields-info`},t.p(null,`Comma separated string of the fields to return in the JSON response (by default returns all fields). For example:`),app.components.codeBlock({value:`// return all root level fields and only
// "relField.someField" from expand
?fields=*,expand.relField.someField`}),t.p(null,`Use `,t.code(null,`*`),` to target all keys from the specific depth level.`),t.p(null,`In addition, the following field modifiers are also supported:`),t.ul(null,t.li(null,t.code(null,`:excerpt(maxLength, withEllipsis?)`),t.br(),`Returns a short plain text version of the field string value. Ex.: `,t.code(null,`?fields=*,someTextField:excerpt(200,true)`))))}export{e as t};