Class: GDA::Nodes::Select

Inherits:
Node
  • Object
show all
Defined in:
ext/gda/gda_nodes.c

Instance Method Summary collapse

Methods inherited from Node

#each, #max_depth, #to_dot

Instance Method Details

#distinct?Boolean

Returns:

  • (Boolean)


154
155
156
157
158
159
160
161
162
163
164
# File 'ext/gda/gda_nodes.c', line 154

static VALUE distinct_p(VALUE self)
{
    GdaSqlStatementSelect * st;

    Data_Get_Struct(self, GdaSqlStatementSelect, st);

    if (st->distinct)
	return Qtrue;

    return Qfalse;
}