2025-02-23 |
Improve message from QueryException
I hit an invalid query doing some goofy joins and had a hard time
figuring out what I did wrong in my query. It would have been much
easier to figure out the problem if the error contained the problem
query, especially when we went to the trouble of collecting it. |
2025-02-23 |
Show explicit warning for deprecated methods of the Database pacakge.
Closes #18152 |
2025-02-23 |
Merge branch '5.x' into 5.next |
2025-02-23 |
Code cleanup.
Avoid negation and use of static string. |
2025-02-23 |
Add describeColumns
I don't want to break the abstract interface between dialect operations
right now, so I'm using a `TableSchema` to shim operations together.
Refs #18123 |
2025-02-23 |
Add SchemaDialect::hasIndex() |
2025-02-23 |
Add SchemaDialect::hasTable() |
2025-02-23 |
Add SchemaDialect::hasColumn() |
2025-02-23 |
Fix mistakes in hasIndex and add hasForeignKey |
2025-02-23 |
Merge branch '5.x' into 5.next |
2025-02-23 |
Update dependency constraints for the split packages.
This should allow using/testing the 5.next branch of the split packages. |
2025-02-23 |
Add SchemaDialect::describeOptions()
Part of #18123. |
2025-02-23 |
Add SchemaDialect::describeForeignKeys()
Another step of #18123. TableSchema requires columns to be present for
foreignkeys to reference them. This requires reflecting columns in order
to get foreign key data.
I'm planning on doing more refactoring on SchemaDialect to remove the
ephemeral `TableSchema` and to avoid reflecting columns for indexes and
foreign keys once all the new reflection methods are complete. |
2025-02-23 |
Add SchemaDialect::describeIndexes
Add more of the api from #18123. This formalizes an array API for index
reflection. Because `TableSchema` is being used to shim dialects
together, we need to reflect the columns in order to build index data. |
2025-02-23 |
Update src/Database/Schema/Collection.php
Co-authored-by: ADmad |
2025-02-23 |
Improve code |
2025-02-23 |
Delay database connection until the schema dialect is accessed |
2025-02-23 |
Improve type detection |
2025-02-23 |
Remove code duplication.
These methods already exist in the Database/Query class. |
2025-02-23 |
Code cleanup.
Avoid negation and use of static string. |
2025-02-10 |
Remove requirement for indexes to have columns
Functional indexes in mysql don't have columns. Our validation
constraint requiring them to have columns was causing schema reflection
to fail.
The error I was able to reproduce was different than reported in #17201
however, the empty column name errors were fixed in #16740. |
2025-02-10 |
Merge branch '4.x' into 4.next |
2025-02-10 |
Fix usage of deprecated method in ReconnectStrategy
Fixes #17382 |
2025-02-10 |
add table schema mapping for sqlite3 UUID_TEXT column type |
2025-02-10 |
Do not set timezone on ChronosDate when marshalling into DateTime field
Resolves #17461 |
2025-02-10 |
Add deprecated annotations to Connection. |
2025-02-10 |
Add deprecated annotations to Query. |
2025-02-10 |
Remove deprecationWarning from methods called internally. |
2025-02-10 |
CS fix |