lektor-website/content/docs/api/databags/get-bag/contents.lr

14 lines
302 B
Markdown

title: get_bag
---
type: method
---
signature: name
---
summary: Looks up an entire databag by its name.
---
body:
This method is a special case of [lookup :ref](../lookup/) which just
looks up an entire data bag and returns it as dictionary. For most
intents and purposes `lookup` is what you want.