thrift: typedefing containers to simplify generated C++
cpp: Metadb: support queries