heap_storage.cpp
bool HeapTable::selected(Handle handle, const ValueDict* where) {
	if (where == nullptr)
		return true;
	ValueDict* row = this->project(handle, where);
	return *row == *where;
}
// See if the row at the given handle satisfies the given where clause
//Provided by Professor Lundeen

See if the row at the given handle satisfies the given where clause
Provided by Professor Lundeen
See if the row at the given handle satisfies the given where clause Provided by Professor Lundeen
bool HeapTable::selected(Handle handle, const ValueDict* where) {
	if (where == nullptr)
		return true;
	ValueDict* row = this->project(handle, where);
	return *row == *where;
}
bool HeapTable :: selected ( Handle handle , const ValueDict * where ) { if ( where == nullptr ) return true ; ValueDict * row = this -> project ( handle , where ) ; return * row == * where ; }
See if the row at the given handle satisfies the given where clause
Provided by Professor Lundeen
See if the row at the given handle satisfies the given where clause Provided by Professor Lundeen