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

Online Help

All Products    Maple    MapleSim


PersistentTable

  

Close

  

close a PersistentTable connection

 

Calling Sequence

Parameters

Description

Thread Safety

Examples

Compatibility

Calling Sequence

Close(connection)

Parameters

connection

-

PersistentTable object created with the Open command

Description

• 

The Close command disconnects a PersistentTable object from its connected database file and releases the associated resources.

Thread Safety

• 

Persistent tables are in general thread safe as of Maple 2021; see the Thread Safety section of the PersistentTable overview page for more details and caveats.

• 

For more information on thread safety, see index/threadsafe.

Examples

withPersistentTable

Close,Count,Get,GetAll,GetKeys,Has,MaybeGet,Open,RawCommand,Set

(1)

connectionOpen:memory:,style=k::integer,v::anything

connection<< 2-column persistent table at :memory: >>

(2)

connection1x+1

connection1x+1

(3)

connection25test

connection25test

(4)

Closeconnection

Compatibility

• 

The PersistentTable[Close] command was introduced in Maple 2021.

• 

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

See Also

PersistentTable

PersistentTable[Open]