virtual bool Create(bool writable = false);
/// Destroys the 'source'
virtual bool Destroy();
+ /// Begins a transaction
+ virtual void BeginTransaction();
+ ///Commits results and ends transaction
+ virtual void EndTransaction();
//====================================================================
const std::string& searchVal);
//Deletes the tuple that matches the parameters given
virtual void DeleteTuple(std::string levelDescriptor, std::string key, std::string value);
+ //Deletes the entries that match the parameters given
+ virtual void RemoveEntries(const std::string i_table,
+ const std::string i_attribute,
+ const std::string i_operand,
+ const std::string i_val);
//====================================================================
std::string mFileName;
/// Is the DB writable ?
bool mWritable;
- void SetWritable(bool w) { mWritable; }
+ void SetWritable(bool w) { mWritable = w; }
bool GetWritable() const { return mWritable; }
bool mIsAdding;