MCPcopy
hub / github.com/pocketbase/pocketbase / GetRaw

Method GetRaw

core/record_model.go:906–916  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

904}
905
906func (m *Record) GetRaw(key string) any {
907 if key == FieldNameId {
908 return m.Id
909 }
910
911 if v, ok := m.data.GetOk(key); ok {
912 return v
913 }
914
915 return m.originalData[key]
916}
917
918// Get returns a normalized single record model data value for "key".
919func (m *Record) Get(key string) any {

Callers 15

TestFileFieldInterceptFunction · 0.95
TestFileFieldInterceptTxFunction · 0.95
TestRecordSetGetFunction · 0.95
SetRandomPasswordMethod · 0.95
ValidatePasswordMethod · 0.95
FreshMethod · 0.95
GetMethod · 0.95
dbExportMethod · 0.95
recordCreateFunction · 0.95
DriverValueMethod · 0.80
ValidateValueMethod · 0.80
appendValueMethod · 0.80

Calls 1

GetOkMethod · 0.80

Tested by 3

TestFileFieldInterceptFunction · 0.76
TestFileFieldInterceptTxFunction · 0.76
TestRecordSetGetFunction · 0.76