title: How to filter two attributes in SQLalchemy
body: <p>I want to know if I can create only one query using Flask SQLalchemy that will provide me all rows from one table that has two attributes Id and name but like this:
  If I don't define attributes it returns me all rows of table, if I define Id it returns the row with that Id, if I define name it returns rows with that name and if I define both it returns row with that attributes.</p>
  <p>It should look like something like this:</p>
  <pre><code>Table.query.filter ( _or(Table.id==id, Table.name==name ).all()
  </code></pre>