However, in general it is more flexible and safer to use Foxx, because it allows you to fine tune complexes queries and supports transactions.