I do not know such code comparisons, but personally I prefer to use ORM, because it allows me to express queries in terms of "business" rather than "tabular" terms .. For example
Query(Customer).filter_by(Customer.address.has(Address.state == 'Whatever'))
source
share