database
database copied to clipboard
Database Abstraction Layer, Schema Introspection, Schema Generation, Query Builders
### No duplicates 🥲. - [X] I have searched for a similar issue in our bug tracker and didn't find any solutions. ### Database MySQL ### What happened? I have...
### I have an idea! I have the query with subquery columns. I need to make aliases for subquery columns for `having`; ```php $result = $database ->select([ 'table1.id', $database->select('COUNT(1)')->from('table2')->where('inner_id', new...
### I have an idea! We have to have the ability out of the box.
### I have an idea! Hello, Cycle team! I've been looking for an ability to write more complex insert queries. And so far I can't find a way to build...
With the arrival of PHP 8.1, async code in PHP land doesn't have to use Promise or fall into the callback hell that we got trapped into before. If cycle...
## 🔍 What was changed detect internal array types as string[], integer[] and float[] insteed of ARRAY ## 🤔 Why? There is no way to detect actual column type for...
### Is your feature request related to a problem? Please describe. When writing complex requests, especially with subqueries, Cycle generates unusable or outright wrong SQL queries. Example: ```php
### No duplicates 🥲. - [X] I have searched for a similar issue in our bug tracker and didn't find any solutions. ### Describe the bug Trying to execute migration...
### No duplicates 🥲. - [X] I have searched for a similar issue in our bug tracker and didn't find any solutions. ### Describe the bug I often use constructions...
Added database reference to exception message (for SQLite) ## 🤔 Why? [https://github.com/cycle/database/issues/98](https://github.com/cycle/database/issues/98)