Aleksei Gagarin
Aleksei Gagarin
### Plugin TCP ### I have an idea! I think the TCP plugin needs to be reworked. The way the RR-TCP plugin works now: RR cuts off data by separator...
### No duplicates 🥲. - [X] I have searched for a similar issue in our bug tracker and didn't find any solutions. ### What happened? Entity manager inserts the same...
product has many productSkus ``` SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-kg' for key 'mt_product_sku.mt_product_sku_index_product_id_attribute_name_61a108014425b' (1-kg ,"1" is product id and "kg" is attribute name) string(194) "INSERT INTO `mt_product_sku`...
### No duplicates 🥲. - [X] I have searched for a similar issue in our bug tracker and didn't find any solutions. ### What happened? ORM doesn't include into the...
- [x] add test case - [ ] fix
### I have an idea! Add some Schema checker that will find incorrect options like - wrong hasOne/belongsTo usage - wrong inner/outer key value inversion between Has* and Belongs/RefersTo relations...
https://github.com/cycle/orm/issues/51 ```php $select->load('comments', ['load' => new PublicCmments()]) ``` Now it works so that the new Scope (Constraint) is added to a default global Scope. It would be very cool to...
The `DatabaseManager` class uses the `LoggerTrait` trait He has the `setLogger($logger)` method If i want to log SQL queries then i call `setLogger()` method on `DatabaseManager` object But all existing...
In this case before inserting entity in the table we should exec `'SET IDENTITY_INSERT table ON'` (without `;`)
After the PR https://github.com/spiral/framework/pull/736 we can have a lot of issues like this: ``` Spiral\Views\Exception\CompileException Cannot assign null to property Spiral\Stempler\Lexer\Buffer::$offset of type int ```  (spiral keeper) Need to...