#get filter with two tag criteria

a) When using #get “posts” I want to use the filter to only fetch posts that have both tagA and tagB.

I am using this for a related posts block on a single post page. What I tried was:

{{#get "posts" include="tags,authors" limit="4" filter="id:-{{id}},tags:[tagA+tagB]" as |related|}}
    {{#foreach related}}
      {{> card}}
    {{/foreach}}
{{/get}}

b) I would also like to be able to get fetch posts with tag-A but exclude those that also have tag-C.

The reference guide for the NQL filter language can be found here:

Thanks @Hannah :+1:

link not working