I would like to generate the following SQL using the ORM. I am testing for no rows returning:
select count(*) from users where id = 9999
I found session.query(User.id_).count() however that does not have a where clause. How would this be performed in the ORM with a where clause?
Thanks,
Jason