Brightsign Object Reference Manual (FW 5.1) Uživatelský manuál Strana 159

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 341
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 158
151
sqlResult = insertStmt.Run()
print sqlResult
if sqlResult = SQLITE_COMPLETE
print "Table Insertion OK"
else
print "Table Insertion FAILED"
endif
insertStmt.Finalise()
Example: Inserting into a Table Using BindByOffset()
insertStmt = db.CreateStatement("INSERT INTO playback (md5,path,playback_count)
VALUES(?,?,?);")
print insertStmt
if type(insertStmt) <> "roSqliteStatement" then
print "We didn't get a statement returned!!"
end
endif
params = CreateObject("roArray", 3, false)
params[ 0 ] = "ABDEF12345"
Zobrazit stránku 158
1 2 ... 154 155 156 157 158 159 160 161 162 163 164 ... 340 341

Komentáře k této Příručce

Žádné komentáře