Returns a newly created DRMS_Array_t structure that represents a table of per-record keyword values. recordsetname is a query that selects a set of rows from a DRMS dataseries, and keylist selects a subset of keywords from those rows. The result is a table that contains one column for each item in keylist, and one row for each record that results from evaluation of recordsetname. The column data are stored in DRMS_Array_t:axis0 and the row data are stored in DRMS_Array_t:axis1. keylist contains a comma-separated list of DRMS keyword names and/or 'hidden' database column names (one of recnum, sunum, slotnum, sessionid, sessionns). Data will be converted to the data type type. If unique is set, then resulting duplicate rows (rows where all keyword values are duplicates of another row's keyword values) are discarded before the DRMS_Array_t structure is created. It is the caller's responsibility to free, with drms_free_array, the memory allocated in the creation of the returned DRMS_Array_t structure.
Definition at line 14130 of file drms_record.c.
|