SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Functions

Functions

template<domain D :shared3p , type T, dim N>
void tdbTableCreate (string datasource, string table, D T[[N]] vtype, uint64 ncols)
 

Detailed Description

Create a table where all columns have the same type.

Note
D - shared3p protection domain
Supported types - bool / uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int / float32 / float64 xor_uint8 / xor_uint16 / xor_uint32 / xor_uint64
Parameters
datasource- name of the data source
table- name of the table
vtype- the type of this value will be the type of the columns
ncols- number of columns in the created table

Function Documentation

◆ tdbTableCreate()

void tdbTableCreate ( string  datasource,
string  table,
D T[[N]]  vtype,
uint64  ncols 
)