KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How do I combine two columns and apply filter? For example, I want to search in both the "firstname" and "lastname" columns at the same time. Here is how I have been doing it if searching only one column: query = meta.Session.query(User).filter(User.firstname.like(searchVar))
Tags (comma-separated)
Save Edits
Cancel