MCPcopy Create free account
hub / github.com/CoderOpen/waimai / Base

Class Base

app/Models/Base.php:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11use Illuminate\Support\Facades\DB;
12
13class Base extends Model
14{
15 public function batchInsert(Array $data)
16 {
17 $rs = DB::table($this->getTable())->insert($data);
18 return $rs;
19 }
20}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected