Close - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Database[SQLite]

  

Close

  

close database connection

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Close( connection )

Parameters

connection

-

database connection obtained using the Open command

Description

• 

The Close command closes the database connection.

Examples

> 

with⁡DatabaseSQLite:

> 

db≔FileToolsJoinPath⁡kernelopts⁡datadir,SQLite,G20-Population.db:

> 

connection≔Open⁡db

SQLite database,table⁡main=C:\Program Files\Maple 2025\data\SQLite\G20-Population.db

(1)
> 

Close⁡connection

SQLite database: connection closed

(2)

Compatibility

• 

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

• 

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