Changeset 186


Ignore:
Timestamp:
01/10/05 17:53:03 (20 years ago)
Author:
mar637
Message:

added pattern selection for source name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTableWrapper.h

    r158 r186  
    6767
    6868  SDMemTableWrapper getSource(const std::string& source) {
    69     casa::String cond("SELECT * from $1 WHERE SRCNAME == '");
    70     cond += source;cond += "'";
     69    casa::String cond("SELECT * from $1 WHERE SRCNAME == pattern('");
     70    cond += source;cond += "')";
    7171    return SDMemTableWrapper(*this, cond);
    7272  }
     
    148148  SDMemTable* getPtr() {return &(*table_);}
    149149  std::string summary() { return table_->summary(); }
    150 
     150 
    151151private:
    152152  casa::CountedPtr<SDMemTable> table_;
Note: See TracChangeset for help on using the changeset viewer.