access to metadata with bean-query

56 views
Skip to first unread message

François

unread,
Nov 4, 2020, 10:05:05 AM11/4/20
to bean...@googlegroups.com
Hello,

I would like to add a column on some query filled by the content of a
posting metadata.

I can't find anything in the documentation. What is the way to do it ?

François

Patrick Ruckstuhl

unread,
Nov 4, 2020, 12:05:47 PM11/4/20
to bean...@googlegroups.com
Hi François,

There are a couple of targets available for querying metadata. What I
usually use, is the help commands in bean-query.

Run bean-query with your file and then enter "help" or for what you're
mostly interested "help targets", this should list


'META(str)': Get some metadata key of the Posting.

Which should do what you want.

Regards,

Patrick

François

unread,
Nov 6, 2020, 4:04:04 AM11/6/20
to 'Patrick Ruckstuhl' via Beancount

Hello,

On Wed, Nov 04, 2020 at 06:05:45PM +0100, 'Patrick Ruckstuhl' via Beancount wrote:
> 'META(str)': Get some metadata key of the Posting.

Thank you very much. It is exactly what I wanted.

> Run bean-query with your file and then enter "help" or for what you're
> mostly interested "help targets", this should list

I looked at "help targets" but could not see this particular line. The
list was big.

François
Reply all
Reply to author
Forward
0 new messages