company logo

ODABAClient :: PackDatabase - Pack database

The function packs a database. The function packs the database by copying it to a new file. If there is not enough space on the disk a path referring to temporary directory must be passed to the packing function. Otherwise the database is packed in the same folder.

When the database consists of several main or subbases each one is copied in its own location or to the temporary folder.

The function cannot be called from a client to run on a server.

Return value:  Success ( logical  )

Implementation details

logical ODABAClient  :: PackDatabase ( NPath &cpath, NPath temp_path=NPath() )
  • cpath - Complete file or directory path
  • temp_path - Temporary path Default: NPath()