chdb_create

Beschreibung

chdb files are not portable across little-endian and big-endian
environments. Except for that, they are portable across different
architectures. Also compatibility across different versions of chdb is not
guaranteed.

Parameter-Liste

pathname

The name of the file to create.

If a file with the same name already exists, it is overwritten.

data

An array containing the key-value pairs to store in the chdb file.

Keys and values are converted to strings before being written to the file,
as chdb only support the string type. Note that binary strings are
supported as well, both as keys and values.

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

Fehler/Exceptions

Throws an exception in case the chdb file hasn't been successfully created.