Comments (4)
Do you mean that SQLite does not return FK names?
from db.
I mean integer and string keys difference. Maybe add docs for now.
from db.
Foreign key in MySQL supports index name, and in SQLite don't supports, so in SQLite used integer ID (seems, it's just number in order) as name.
I think improve phpdoc and make more specified psalm type for TableSchemaInterface::getForeignKeys()
result will be enough.
from db.
Decided to use ForeignKeyConstraint[]
instead of arrays
. Related with #734
from db.
Related Issues (20)
- Introduce driver virtual-package
- Executing many commands with missing required parameters dont throw error HOT 4
- LikeCondition without % on prefix and suffix HOT 2
- Remove methods replacing query condition HOT 1
- NoSQL databases (particularly MongoDB) HOT 5
- Non-consistent types in `BatchQueryResultInterface`
- Use Param object instead of array HOT 1
- Supports PHPs DateTime instances HOT 2
- What is the difference between `InvalidArgumentException` and `InvalidParamException`? HOT 3
- Missing method in ExpressionBuilderInterface? HOT 3
- Table foreign keys load two times as arrays and as objects HOT 5
- Suggestion to speed up the casting of values HOT 3
- Replace `object` type for constraint name with `Stringable` HOT 4
- DB agnostic `ForeignKeyConstraint::getOnUpdate()` and `ForeignKeyConstraint::getOnDelete()` HOT 1
- Inconsistency of `Schema::getTableForeignKeys()` HOT 2
- Unique indexes can be loaded in 3 different ways HOT 1
- Make array type only for `Constraint::$columnNames`
- Support enum values by all DBMS
- `Query::count()` can return `int|string` but always returns `int` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from db.