MysqlField
final class MysqlField (View source)
Methods
__construct(string $name, string|int $type, int $maxLength, bool $primaryKey, mixed $default)
name()
string
type()
string|int
int
bool
default()
mixed
toObject()
CI-compatible shape.
object
toArray()
array
Details
__construct
__construct(string $name, string|int $type, int $maxLength, bool $primaryKey, mixed $default)
No description
name
string
name()
No description
type
string|int
type()
No description
maxLength
int
maxLength()
No description
primaryKey
bool
primaryKey()
No description
default
mixed
default()
No description
toObject
object
toObject()
CI-compatible shape.
toArray
array
toArray()
No description