Adding DB Cache

This commit is contained in:
stephb9959
2021-12-31 22:41:12 -08:00
parent 2bc6d7c325
commit 78ae79b1d5

View File

@@ -405,7 +405,7 @@ namespace ORM {
assert( FieldNames_.find(FieldName) != FieldNames_.end() );
if(Cache_) {
if(Cache_->GetFromCache("id",Value,R))
if(Cache_->GetFromCache(FieldName, Value, R))
return true;
}