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

Functions

template<domain D :shared3p , type T>
D T tdbReadColumn (string datasource, string table, uint64 index)
 

Detailed Description

Read a column from a table.

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
index- index of the column in the table
Returns
returns a vector with the values in the column

Function Documentation

◆ tdbReadColumn()

D T tdbReadColumn ( string  datasource,
string  table,
uint64  index 
)