added support for dynamic api resolution based on a format string and a query
added a method for NOT … IS NULL expressions