Class: GDA::SQL::Structure
- Inherits:
-
Object
- Object
- GDA::SQL::Structure
- Defined in:
- ext/gda/gda_statement.c
Instance Method Summary collapse
Instance Method Details
#ast ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'ext/gda/gda_statement.c', line 17
static VALUE ast(VALUE self)
{
GdaSqlStatement * sqlst;
Data_Get_Struct(self, GdaSqlStatement, sqlst);
return WrapAnyPart(self, GDA_SQL_ANY_PART(sqlst->contents));
}
|
#sql ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'ext/gda/gda_statement.c', line 26
static VALUE sql(VALUE self)
{
GdaSqlStatement * sqlst;
Data_Get_Struct(self, GdaSqlStatement, sqlst);
return rb_str_new2(sqlst->sql);
}
|