This is already being done using xPDO in MODx Revolution 2.0, in fact, that was the whole point. We will definitely not be using EZSql.
Do we have any sort of consensus on the DB abstraction?
After spending some time thinking about it, I favor the EZSql method, but I’m not sure where that conversation currently stands.
Depending on how we decide to proceed, I will go ahead and volunteer to redo all of the core code to use the new DB abstraction, if desired.