title: Best way to avoid specific values, when extracting from database?
body: <h2>The Problem</h2>
  <p>Ignoring specific values, when arrays are pulled, using medoo, and merged.</p>
  <h2>The Details</h2>
  <p>Say I have two arrays, created from two similar tables. They have a 'user'-row and an 'id'-row.
  Example below:</p>
  <pre><code>id        name   
  -------   ---------
    1         John Doe     
    2         John Snow    
    3         Jane     
    4         Jane       
  
  </code></pre>
  <p>What is the best way to ignore all entries that have 'John ...' in the name row?
  My array_merge is currently like this:</p>
  <pre><code>  public function getUsersByName($name)
      {
          $res = array_merge(
              $this-&gt;_db-&gt;select('users1', ['id', 'name'],
              $this-&gt;_db-&gt;select('users2', ['id', 'name']
          );
          return $res;
      }
  </code></pre>
  <p>This returns a nice array, with all values in the tables. What is the best practice to ignore those values, and skip to the next legitimate value?</p>