Azamat

Results 4 comments of Azamat

I think, it's gonna be amazing something like this: ```php User::find() ->andWhere(['json_column->email' => '[email protected]']) ->one(); User::find() ->andWhere(['json_column->email' => ['[email protected]', '[email protected]']]) ->orderBy(['json_column->additionalData->registeredAt' => SORT_DESC]) ->all(); ``` SQL: ```sql SELECT * FROM...

For example, we need custom ColumnSchemaBuilder class (with extended implementation). For this currently we should extend \yii\db\mysql\Schema class (only for overriding of method \yii\db\Schema::createColumnSchemaBuilder) for each driver. But in the...

I think, it's gonna be amazing something like this: ```php User::find() ->andWhere(['json_column->email' => '[email protected]']) ->one(); User::find() ->andWhere(['json_column->email' => ['[email protected]', '[email protected]']]) ->orderBy(['json_column->additionalData->registeredAt' => SORT_DESC]) ->all(); ``` SQL: ```sql SELECT * FROM...

> I've been looking for a solution for this as well.. And just in case you're using `@ngrx/core` alongside.. I'd like to quote the docs at this point: > >...