Yii
- 10 ответов
- 0 вопросов
4
Вклад в тег
SELECT
t2.partnum p2,
t1.partnum p1,
t2.partnum - t1.partnum res
FROM nspcl t1
INNER JOIN nspcl t2 ON t1.id = (t2.id - 1)
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=back_import',
...
'enableSchemaCache' => false
$this->db->schema->refreshTableSchema('table_name')