mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-01 03:07:59 +00:00
Adding DB Cache
This commit is contained in:
@@ -405,7 +405,7 @@ namespace ORM {
|
|||||||
assert( FieldNames_.find(FieldName) != FieldNames_.end() );
|
assert( FieldNames_.find(FieldName) != FieldNames_.end() );
|
||||||
|
|
||||||
if(Cache_) {
|
if(Cache_) {
|
||||||
if(Cache_->GetFromCache("id",Value,R))
|
if(Cache_->GetFromCache(FieldName, Value, R))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user