Has anyone seen PHP DB adapter code?

I’ve used the fetch API. Does that tie into collections?! If so, I’ll dig into it, for sure.