Cursor Object

Purpose:

Used to manipulate a SQL database

Syntax:

cursor.methodname

where methodName is one of the following

moveToPosition
moveToFirst
moveToNext
moveToLast
getString()
getInt
getFloat()
getDouble()
getLong()
putString
putFloat
putDouble
putInt
getcount
getColumnCount
getColumnIndex


getPosition
getType
getBlob
close

Comments:

Cursors are generated by the database as output from the SQL select statement

For example:

cur = hdb.select("select string")

 

cov.put "FILENAME","myfile"
cov.put "IMAGE","image/audio"
cov.put "SECS1970",sss[1]
mydb.insert mytable,cov

Also see Contentvalue and Database