mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
10 lines
203 B
C++
10 lines
203 B
C++
#include "dbase.h"
|
|
|
|
Value& dbRecord::operator() (const String &field) {
|
|
int q = record.Find(field);
|
|
if(q < 0) {
|
|
Value v;
|
|
return record.GetAdd(field, v);
|
|
}
|
|
else return GetValue(q);
|
|
}
|