Skip to main content

Name

ec_datasource_first_column — Move the cursor to the first column of the specified row

Synopsis

#include "modules/datasource/ecdatasource.h"

| (int) **ec_datasource_first_column** ( | ent, |   | |   | nrow, |   | |   | iter); |   |

const ecdata_cache_ent * <var class="pdparam">ent</var>; int <var class="pdparam">nrow</var>; ec_datasource_value_iter * <var class="pdparam">iter</var>;

Description

Move the cursor to the first column of the specified row.

Parameters

ent

This parameter is a pointer to a const ecdata_cache_ent struct, a typedef for a ec_datasource_query_cache_entry struct.

nrow

The affected row.

iter

A pointer to an ec_datasource_value_iter. This iterator is a typedef of the ec_datasource_value_iterator iterator.

Return Values

On success this function returns 1 and on failure 0.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?