$_jsonTypeMap
$_jsonTypeMap :\Lqdt\OrmJson\Database\Schema\array<string,
Stores permanent datfield JSON data types or JSON types definition
These upgraded schema provides convenience to handle data types into JSON data
addJsonTypes(array|string $types,array|null $type = null): void
Permanently register a JSON type(s) in schema. provided type(s) will be added to current styles In case of target conflict
array|string | $types | Datfield to type or array of [ |
array|null | $type | Type definition |
addTransientJsonTypes(array|string $types,array|null $type = null): void
Register transient JSON type(s) in schema
These types will be removed after next call to DatFieldTableSchema::typeMap()
array|string | $types | Datfield to type or array of [ |
array|null | $type | Type definition |
setJsonTypes(array|string $types,array|null $type = null): void
Permanently register a JSON type(s) in schema. provided type(s) will replace currently stored JSON types
array|string | $types | Datfield to type or array of [ |
array|null | $type | Type definition |
setTransientJsonTypes(array|string $types,array|null $type = null): void
Register transient JSON type(s) in schema
These types will be removed after next call to DatFieldTableSchema::typeMap()
array|string | $types | Datfield to type or array of [ |
array|null | $type | Type definition |
_parseJsonTypes(array|string $types,array|null $type = null): array
Process a single or a set of json types and returns it as a suitable array to be stored as json types
array|string | $types | Datfield to type or array of [ |
array|null | $type | Type definition |
Processed JSON types