Cheat Sheet速查表
跳转到主要内容

Ledger 查询 速查表

本文根据 Devhints / Ledger queries 翻译。代码示例及版本范围沿用原文。

关于

查询字符

查询说明
@payee收款人 (Payee)
%tag标签 (Tag)
=note备注 (Note)
#code代码 (Code)
TERM and TERM布尔值与
TERM or TERM布尔“或” (Boolean OR)
not TERM布尔“非” (Boolean NOT)

示例

ledger r @taco
ledger r comment =~ /landline/