Skip to content

Basic Examples

dingxizheng edited this page Oct 28, 2019 · 4 revisions

$add

sub_total + tax #=> { "$add": ["$sub_total", "$tax"] }

$multiply

sub_total * tax_rate #=> { "$multiply": ["$sub_total", "$tax_rate"] }
Clone this wiki locally