6 #include "CoralBase/Attribute.h"
13 iMe != mapping.
end(); ++iMe ) {
16 if ( elementType == MappingElement::Object ||
17 elementType == MappingElement::Array ||
18 elementType == MappingElement::OraArray ||
19 elementType == MappingElement::CArray ) {
23 if ( mapping.
elementType() == MappingElement::Object)
return;
26 std::string indexColumn = mapping.
columnNames()[ 1 ];
30 coral::AttributeList::iterator condDataIter = deleteOperation.
whereData().begin();
31 condDataIter->data<
int>() = oid;
33 condDataIter->data<
int>() = fromIndex;
ElementType elementType() const
iterator begin()
Returns an iterator in the beginning of the sequence.
void deleteArrayElements(MappingElement &mapping, int oid, int fromIndex, RelationalBuffer &buffer)
std::map< std::string, MappingElement >::iterator iterator
Iterator definition.
const std::vector< std::string > & columnNames() const
iterator end()
Returns an iterator in the end of the sequence.
const std::string & tableName() const
DeleteOperation & newDelete(const std::string &tableName, bool addToResult=false)