0
이것은 내 코드입니다.Drupal 8 테이블에서 데이터를 가져 옵니까?
$connection = Database::getConnection();
$sth = $connection->select('node_field_word_record', 'x')
->fields('x', array('field_word_record_useruuid'));
$data = $sth->execute();
$results = $data->fetchAll(\PDO::FETCH_OBJ);
print_r($results);
이지만 $ _results는 비어 있습니다.
이 오류 메시지입니다.
Drupal\Core\Database\DatabaseExceptionWrapper:Drupal\record_json\Controller\RecordJsonController->save_words() 中的 SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fire.node_field_word_record' doesn't exist: SELECT x.field_word_record_useruuid AS field_word_record_useruuid FROM {node_field_word_record} x;
장소 도와주세요!