Formal\AccessLayer\Query\Delete::join()
Formal\AccessLayer\Driver::sqlite
- Support for aliased table names when using
Formal\AccessLayer\Query\Delete
Formal\AccessLayer\Driver
Formal\AccessLayer\Query\MultipleInsert
Formal\AccessLayer\Table\Column\Type::uuid()
Formal\AccessLayer\Table\Column\Type::bool()
Formal\AccessLayer\Connection\Lazy::of()
Formal\AccessLayer\Row::new()
Formal\AccessLayer\Row\Value::of()
- Requires
innmind/specification:~4.1
Formal\AccessLayer\Query::sql()
now has aDriver
argumentFormal\AccessLayer\Query\Insert::into()
only accepts 1Row
, for multiple rows useMultipleInsert
insteadFormal\AccessLayer\Connection\Lazy
constructor is now private, use::of()
insteadFormal\AccessLayer\Row
constructor is now private, use::new()
insteadFormal\AccessLayer\Row\Value
constructor is now private, use::of()
insteadFormal\AccessLayer\Table\Column
constructor is now private, use::of()
insteadFormal\AccessLayer\Table\Column\Name
constructor is now private, use::of()
insteadFormal\AccessLayer\Table\Name
constructor is now private, use::of()
instead
Formal\AccessLayer\Query\Delete::join()
Formal\AccessLayer\Query\Update::join()
- The type of a raw value is now determined from the value instead of using
unspecified
instead.
Formal\AccessLayer\Query\Parameter\Type::for()
to determine a type for any given value
Formal\AccessLayer\Query\CreateTable::unique()
Formal\AccessLayer\Query\Constraint\Unique
Formal\AccessLayer\Query\Constraint\ForeignKey::named()
- Queries can be used a value of a specification in a where clause
- Support for
innmind/immutable:~5.0
Formal\AccessLayer\Row\Value
now accepts a namespaced column nameFormal\AccessLayer\Row\Value::columnSql()
Formal\AccessLayer\Query\Delete
deletes from the main table instead of all joined tables as well
Formal\AccessLayer\Query\Constraint\ForeignKey::onDeleteSetNull()
- You can now use an aliased table name to update from with
Formal\AccessLayer\Update
Formal\AccessLayer\Update::join()
- The logic between
Sign::startsWith
andSign::endsWith
were inversed Sign::contains
,Sign::startsWith
andSign::endsWith
would not yield the expected result when containing special characters\
,_
and%
(as they're special pattern characters), these characters are now escaped so it would exactly match
- You can now use an aliased table name to delete from with
Formal\AccessLayer\Delete
Formal\AccessLayer\Query\Constraint\PrimaryKey
Formal\AccessLayer\Query\Constraint\ForeignKey
Formal\AccessLayer\Query\CreateTable::constraint()
Formal\AccessLayer\Query\Delete::join()
- Using a namespaced column as a property of a specification failed when using
Sign::in
Formal\AccessLayer\Query\Select::count()
- Using a number as a column alias crashed because it wasn't a string
Formal\AccessLayer\Query\Select::join()
Formal\AccessLayer\Query\Select\Join
Formal\AccessLayer\Query\Select::limit()
Formal\AccessLayer\Query\Select::orderBy()
Formal\AccessLayer\Query\Select\Direction
Formal\AccessLayer\Table\Name::of()
Formal\AccessLayer\Table\Name::as()
Formal\AccessLayer\Table\Column::of()
Formal\AccessLayer\Table\Column\Name::of()
Formal\AccessLayer\Table\Column\Name::in()
Formal\AccessLayer\Table\Column\Name::as()
Formal\AccessLayer\Table\Name\Aliased
Formal\AccessLayer\Table\Column\Name\Namespaced
Formal\AccessLayer\Table\Column\Name\Aliased
- Require
innmind/black-box
5
- Support for PHP
8.1
Formal\AccessLayer\Row::toArray()
- Allow to specify the connection charset via the
charset
query parameter in the connectionUrl