Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tables
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
grifart libs
tables
Commits
fb0124ff
Verified
Commit
fb0124ff
authored
1 month ago
by
Jiří Pudil
Browse files
Options
Downloads
Patches
Plain Diff
fix readme
parent
11e28966
No related branches found
No related tags found
No related merge requests found
Pipeline
#59193
passed
1 month ago
Stage: install
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+1
-5
1 addition, 5 deletions
README.md
with
1 addition
and
5 deletions
README.md
+
1
−
5
View file @
fb0124ff
...
...
@@ -449,7 +449,7 @@ enum Status: string {
case
PUBLISHED
=
'published'
;
}
$statusType
=
EnumType
::
of
(
Status
::
class
);
$statusType
=
EnumType
::
of
(
Status
::
class
,
new
Database\NamedType
(
new
Database\Identifier
(
'public'
,
'status'
))
);
```
##### Composite types
...
...
@@ -490,10 +490,6 @@ $moneyType = new class extends CompositeType {
Similarly to arrays, in PostgreSQL, composite type fields are always nullable. However,
`CompositeType`
rejects null values except in positions where they are explicitly allowed:
```
php
$nullableDateArrayType
=
ArrayType
::
of
(
NullableType
::
of
(
new
DateType
()));
```
```
php
$moneyType
=
new
class
extends
CompositeType
{
public
function
__construct
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment