how should i construct filters for multiple request parameters in SQLAlchemy?

I'm newbie Flask,SQLAlchemy and trying to develop application using flask-sqlalchemy. search web from that accept 2 request paratemer,firstname and lastname. Most primitive way to construct search