Check out example codes for "sql alchemy or". It will help you in understanding the concepts better.

Code Example 1

from sqlalchemy import or_
filter(or_(User.name == 'ed', User.name == 'wendy'))

Learn ReactJs, React Native from akashmittal.com