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)logInterpolatedQueries for detailed query logging and refined logQueryParameters to accurately log query parameters as arrays, enhancing ORM debugging and monitoring. @lotyp (#165)orderBy method to accept a null direction parameter, providing more flexibility when constructing queries by @butschster (#167)smallInteger by @gam6itko (#128)text to json by @romanpravda (#121)readonlySchema for columns by @msmakouz (#116)AbstractForeignKey::$index property to enable/disable index creation by @msmakouz (#119)TableInterface and ColumnInterface by @vjik (#108)logQueryParameters in the driver options to enable interpolation in SQL query logs by @msmakouz (#95)SET type support by @msmakouz (#92)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)$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 dependenciesSelectQuery::orderBy method by @butschster (#45)psr/log dependency by @thgs (#35)Spiral\Database replaced with Cycle\Database @butschster (#1)ColumnReturnableInterface for database drivers @butschster (#25)spiral/database to cycle/databasejoin methods @butschsterHow can I help you explore Laravel packages today?