When extra fields are fetched from the attributes column it must be
specified from which table that should be. If not done and another table
also has an attribute column, it will end in an error.
This is a small library to build queries and put the result into the
Currently it supports building the select clause and converting rows
into a list of maps, so that it can be returned as a list.