コード例 #1
0
 public function updateCustomRecord($parameters)
 {
     TerritorialArea1::where('id_003', $parameters['id'])->update(['id_003' => $this->request->input('id'), 'name_003' => $this->request->input('name')]);
 }
コード例 #2
0
ファイル: TerritorialArea1.php プロジェクト: syscover/pulsar
 public static function getTerritorialAreas1FromCountry($country)
 {
     return TerritorialArea1::where('country_id_003', $country)->orderBy('name_003', 'asc')->get();
 }