| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | 52 | public function create($options = []) |
|
| 18 | { |
||
| 19 | 52 | $parameters = []; |
|
| 20 | 52 | $parameters['options'] = array_merge( |
|
| 21 | 52 | [ |
|
| 22 | 52 | 'keyOptions' => config('arangodb.schema.keyOptions'), |
|
| 23 | 52 | ], |
|
| 24 | 52 | $options, |
|
| 25 | 52 | ); |
|
| 26 | 52 | $parameters['explanation'] = "Create '{$this->table}' table."; |
|
| 27 | 52 | $parameters['handler'] = 'table'; |
|
| 28 | |||
| 29 | 52 | return $this->addCommand('create', $parameters); |
|
|
|
|||
| 30 | } |
||
| 54 |