You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewException("JSONDB Query Result Error: Can't fetch for data. Trying to use JSONDB::FETCH_CLASS mode with class \"{$this->className}\" but the class doesn't exist or not found.");
thrownewException("JSONDB Query Result Error: Can't fetch for data. Using JSONDB::FETCH_CLASS mode with class \"{$this->className}\" but the property \"{$item}\" doesn't exist or not public.");
142
+
}
143
+
$mapper->$item = $value;
144
+
}
145
+
return$mapper;
146
+
127
147
default:
128
148
thrownewException('JSONDB Query Result Error: Fetch mode not supported.');
129
149
}
@@ -260,14 +280,15 @@ public function offsetUnset($offset)
260
280
261
281
/**
262
282
* Fetch for results
263
-
* @param int $mode The fetch mode
283
+
* @param int $mode The fetch mode
284
+
* @param string $className The class name (for JSONDB::FETCH_CLASS)
0 commit comments