$count=Fields::find()->where('and','name=:name','table_name=:tableName')->addParams([':name' => $name,':tableName'=>$tableName])->count();
请问我这句错在哪里?
$count=Fields::find()->where('
name=:name and
table_name=:tableName',[':name' => $name,':tableName'=>$tableName])->count();