I want to use the SQLAlchemy filter_by function, but cannot find an explicit statement that the filter_by function escapes input to protect against SQL injection. Our usage is very simple but obviosuly very sensitive.
self.database.active_session()
.query(Users)
.filter_by(
username=username,
is_active=1
).first()
Where can I read more about the filter_by function, or can anyone tell me whether it escapes input?