By default, the "elasticsearch" application component is used as the database connection.
You may override this method if you want to use a different database connection.
public static getDb ( ) : |
||
Результат | the database connection used by this AR class. |