title: Mongodb query needed
body: <p>I need a query for mongodb with "union", I have two tables, blacklistSites and logs. BlacklistSites table has id, type, url and so on, and logs has id, url, url_dominio, etc. I need check which logs is in blacklistsites by url.</p>
  
  <p>blacklistsites.url like logs.url_dominio</p>
  
  <p>Ex: </p>
  
  <p>url: <a href="http://www.example.com/page/article/post" rel="nofollow noreferrer">http://www.example.com/page/article/post</a></p>
  
  <p>url_dominio: <a href="http://www.example.com" rel="nofollow noreferrer">http://www.example.com</a>   or    example.com</p>
  
  <p>Please help...</p>