SELECT {{ .Ident "rv" | .Into .ResourceVersion }}
    FROM {{ .Ident "resource_version" }}
    WHERE 1 = 1
        AND {{ .Ident "group" }}    = {{ .Arg .Group }}
        AND {{ .Ident "resource" }} = {{ .Arg .Resource }}
    {{ .SelectFor "UPDATE" }}
;
