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

Method batchInsert

app/Models/Base.php:15–19  ·  view source on GitHub ↗
(Array $data)

Source from the content-addressed store, hash-verified

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