Why use an ORM if all you need is a query builder? They exist as of the shelve solution, some are even crazy good.
your query builder isn't just string based to avoid a lot of potential bugs which are easy to introduce and miss in tests? It also has a simple way to (de)serialize row from/to POD structs? Now you already have a thin ORM.