Wordpress WP_Query "NOT IN" not working
<p>I have a custom field <code>Field Name: "participants"</code> with <code>Field Type: "User"</code>. </p>

<p>I want to use "NOT IN" in meta query but it is not working.</p>

<pre><code>$getUid = $_REQUEST['uid'];
$args = [
    'post_type' =&gt; 'polls',
    'post_status' =&gt; 'publish',
    'meta_query' =&gt; [
        'relation' =&gt; 'AND',
        [
            'key' =&gt; 'participants',
            'value' =&gt; [$getUid],
            'compare' =&gt; "NOT IN"
        ]
    ]
];

$the_query = new WP_Query($args);
return $the_query;
</code></pre>