where("k", $k)->first()?->v; return $v; } public static function _list($sDogName) { $oSelf = self::where("dog_name", $sDogName)->get(); return self::_filterList($oSelf); } public static function _filter($oOption) { $arr = []; $arr[$oOption->dog_name."#".$oOption->k] = $oOption->v; return $arr; } public static function _filterList($oOption) { $arr = []; foreach ($oOption as $oOptionRow) { $arr[] = self::_filter($oOptionRow); } return $arr; } }