This statement is wrong. ORMs can't use DB specific features, so they have to generate lowest common denominator SQL.
With Postgres e.g. I can insert an entry and return the generated ID in a single query. ORMs can't do that.
I can also upsert entries in a single statement. ORMs can't do that.