cycle/database
Cycle DBAL is a secure database abstraction layer for PHP with support for MySQL, PostgreSQL, SQLite, and SQL Server. It offers schema introspection and declaration, query builders, nested queries, transactions, migrations, and database partitions.
first and after into column declaration (#226) (7ad2df1)SubQueryInjection to SubQuery (b9cf08e)selectSubQuery to subQuery and update related query logic (727ca0e)orderBy statement by @msmakouz (#184)mediumText column type by @msmakouz (#178)NOT operator in SQL queries. Add new methods whereNot, andWhereNot, and orWhereNot by @msmakouz (#185)DatabaseInterface::transaction() method by @roxblnfk (#186)orderBy method by @butschster in https://github.com/cycle/database/pull/167logInterpolatedQueries for detailed query logging and refined logQueryParameters to accurately log query parameters as arrays, enhancing ORM debugging and monitoring.DatabaseInterface::transaction() by @vjik in https://github.com/cycle/database/pull/163Full Changelog: https://github.com/cycle/database/compare/2.8.1...2.9.0
Fragment with parameters in the returning() definition by @msmakouz (#161)Fragment in Column default value by @msmakouz (#162)Full Changelog: https://github.com/cycle/database/compare/2.8.0...2.8.1
withDatetimeMicroseconds option now affects the interpolator by @msmakouz in https://github.com/cycle/database/pull/155Full Changelog: https://github.com/cycle/database/compare/2.7.1...2.8.0
precision and scale through attributes by @msmakouz (#148)Column::type() method by adding default size to column type mappings by @msmakouz (#150)Full Changelog: https://github.com/cycle/database/compare/2.7.0...2.7.1
varbinary support in MySQL; optimize size attribute by @msmakouz (#146)FragmentInterface objets by @msmakouz and @roxblnfk (#147)Full Changelog: https://github.com/cycle/database/compare/2.6.1...2.7.0
[@internal](https://github.com/internal) from queries by @msmakouz in https://github.com/cycle/database/pull/142whereJsonContains and whereJsonDoesntContain methods with a single column name in an argument by @msmakouz in https://github.com/cycle/database/pull/143Full Changelog: https://github.com/cycle/database/compare/2.6.0...2.6.1
smallInteger by @gam6itko (#128)text to json by @romanpravda (#121)Full Changelog: https://github.com/cycle/database/compare/2.5.2...2.6.0
Full Changelog: https://github.com/cycle/database/compare/2.5.1...2.5.2
Full Changelog: https://github.com/cycle/database/compare/2.5.0...2.5.1
readonlySchema for columns by @msmakouz (#116)AbstractForeignKey::$index property to enable/disable index creation by @msmakouz (#119)TableInterface and ColumnInterface by @vjik (#108)Full Changelog: https://github.com/cycle/database/compare/2.4.1...2.5.0
cycle/migrations-generator when tables are sorting (https://github.com/cycle/schema-migrations-generator/issues/13)Full Changelog: https://github.com/cycle/database/compare/2.4.0...2.4.1
logQueryParameters in the driver options to enable interpolation in SQL query logs.
Since v2.4.0, interpolation in logs is disabled by default by @msmakouz (#95)SET type support by @msmakouz (#92)Full Changelog: https://github.com/cycle/database/compare/2.3.0...2.4.0
IN and NOT IN operators by @roxblnfk (#69, #70, #71)PdoInterface as a possible return type for the Driver::getPDO() method by @roxblnfk (#76)options array parameter to all driver configs to pass additional driver options.
The withDatetimeMicroseconds option can be set to true to store a DateTime with microseconds by @msmakouz (#86)__set_state() by @wakebit (#83)size of a datetime column by @msmakouz (#86)Full Changelog: https://github.com/cycle/database/compare/2.2.1...2.3.0
Full Changelog: https://github.com/cycle/database/compare/2.2.1...2.2.2
$config parameter of the DatabaseConfig constructor optional again by @roxblnfk\Cycle\Database\Schema\State::forgerForeignKey method by @BeMySlaveDarlin (#53)$config property in the DatabaseConfig class by @roxblnfk (#64)composer.json dependenciesFull Changelog: https://github.com/cycle/database/compare/2.1.3...2.2.0
Full Changelog: https://github.com/cycle/database/compare/2.1.2...2.1.3
How can I help you explore Laravel packages today?