6 #include "RelationalAccess/ISchema.h"
9 std::unique_ptr< coral::IQuery >
13 std::unique_ptr< coral::IQuery >
query( session->nominalSchema().newQuery() );
22 const std::string &
fieldName = bindVar.specification().name();
24 throw std::runtime_error(
"Column " +
fieldName +
" has been bound, but not set to a value" );
33 for(
const coral::Attribute & attr :
m_attList ) {
34 query->addToOutputList(attr.specification().name());
44 m_tables.emplace_back(
table, table_short);
49 if( m_condition.size()>0 && condext.size()>0 && m_condition.back() !=
' ' && condext[0] !=
' ') {
52 m_condition += condext;
59 boost::iostreams::stream<boost::iostreams::array_source>
stream(
static_cast<const char*
> (
blob.startingAddress()),
61 boost::property_tree::read_json(
stream,
pt);