Aleksei Gagarin
Aleksei Gagarin
Try to use [JTI](https://cycle-orm.dev/docs/advanced-joined-table-inheritance/2.x/en) instead of morphed.
@sergey-telpuk Hello. I have an understanding of the issue and i am saddened to realize that we made it. Right now i'm on my day off and i'm not doing...
One repository class can be used for a lot of enities. For example, [default repository](https://github.com/cycle/orm/blob/d097d174391df1cf8bfef04d745124e801b33d0d/src/Select/Repository.php) is universal class for all enitites. I think it possible to make a schema checking...
We can discuss feature about new attribute to deny usage the same repository in more than one entity.
`¯\_(ツ)_/¯` I worked only on [the Yii 3 adapter](https://github.com/yiisoft/yii-cycle) Also we have [the bridge for Spiral Framework](https://github.com/spiral/cycle-bridge) User's [implementation for Laravel](https://github.com/wakebit/laravel-cycle)
The [documentation](https://cycle-orm.dev/docs/relation-belongs-to) says: > `innerKey` -- Inner key in source entity. Defaults to `{relationName}_{outerKey}` Therefore, for your case it will be more correct like this: ```php /** * @Cycle\Relation\BelongsTo(target="ProductCategory", innerKey="parentId",...
Right now readonly properties aren't supported from the box. But it is possible: - to write a custom typecaster that will ignore RO properties - to use the promise-mapper with...
There are no updates yet. Right now i am working on `cycle/database`
в БД эти поля именно как Date, а не Datetime? В сущности это объект DatetimeInterface?
Рекомендую использовать отдельный метод `->on()`: ```php $userRepository ->select() ->buildQuery() ->join('LEFT', 'user_profile as profile') ->on(['user.id' => 'profile.user_id']) // так тоже работает: // ->on('user.id', 'profile.user_id') ->fetchAll() ```