still don’t understand the code editor well
I need to get into a variable the value of a field from the database
все еще плохо понимаю редактор кода
мне нужно получить в переменную значение поля из базы данных
import QtQuick 2.6
Item {
Component.onCompleted: {
letter()
}
function letter(){
let word = sqlQuery(SELECT Answer FROM GamePlay WHERE "LevelEnd" = '0' ORDER BY "LevelEnd" ASC LIMIT 0, 1)
document.childByName("Text 23").content.scriptAdaptor.actionSetText(word)
}
}