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)


166
167
168
169
170
171
172
173
174
175
176
# File 'ext/gda/gda_nodes.c', line 166

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

    TypedData_Get_Struct(self, GdaSqlStatementSelect, &any_part_type, st);

    if (st->distinct)
	return Qtrue;

    return Qfalse;
}