Database[SQLite] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : Database Package : SQLite : Database/SQLite/Close

Database[SQLite]

  

Close

  

Close Database Connection

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Close( connection )

Parameters

connection

-

database connection obtained using Open command

Description

• 

The Close command closes the database connection.

Examples

withDatabase[SQLite]

Attach,Bind,ClearBindings,Close,ColumnCount,ColumnNames,Execute,Fetch,FetchAll,FetchRow,Finalize,Open,Opened,Prepare,RESULT_BUSY,RESULT_DONE,RESULT_ROW,Reset,Step

(1)

dbFileTools[JoinPath]kernelopts'datadir',SQLite,G20-Population.db:

connectionOpendb

SQLite database,tablemain=C:\Program Files\Maple 2016\data\SQLite\G20-Population.db

(2)

Closeconnection

SQLite database: connection closed

(3)

Compatibility

• 

The Database[SQLite][Close] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.