Import
class Import
Traits
AppTrait
Properties
protected Resp | $error | error | from AppTrait |
protected Resp | $success | success | from AppTrait |
protected Db | $dao | ||
protected string | $table | ||
protected int | $chunk | ||
protected int | $start | ||
protected int | $end |
Methods
__construct()
Import constructor.
setProperty($property)
No description
bool
chunk($size, callable $callback, callable $output = null)
No description
string
prepareSql($page, $size)
No description
string
range()
No description
Details
in
AppTrait at line 43
bool
setError(string|MessageBag $error)
设置错误
at line 56
__construct()
Import constructor.
at line 65
Import
setTable(string $table)
No description
at line 72
setProperty($property)
No description
at line 81
Import
setStart(int $start)
No description
at line 91
Import
setEnd(int $end)
No description
at line 104
bool
chunk($size, callable $callback, callable $output = null)
No description
at line 153
protected string
prepareSql($page, $size)
No description
at line 170
protected string
range()
No description