Switch to: V9V8V7V6V5

VSqliteDatabase Class: Disk Methods

VSqliteDatabase.Create()

Declaration:

Create()

Description:

Creates a new, empty database on the disk.

Note: After creation, the database becomes open.

Example:

db.Create()

VSqliteDatabase.Open()

Declaration:

Open()

Description:

Opens the database.

Example:

db.Open()

VSqliteDatabase.Close()

Declaration:

Close()

Description:

Closes the database.

Example:

db.Open()
....
db.Close()

VSqliteDatabase.ThrowOut()

Declaration:

ThrowOut()

Description:

Deletes all database files from disk.

Example:

db.Close()
db.ThrowOut()

VSqliteDatabase.Backup()

Declaration:

Backup( inLocation as string )

Param: inLocation - path to the backup file. For remote database file name is only matter since backups folder is defined in vServer config file.

Description:

Backup database to a new file.

Example:

db.Backup( 'backup_db.db' )