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
37 38 39 40 41 42 |
# File 'ext/gda/gda_statement.c', line 37 static VALUE ast(VALUE self) { GdaSqlStatement * sqlst; TypedData_Get_Struct(self, GdaSqlStatement, &structure_type, sqlst); return WrapAnyPart(self, GDA_SQL_ANY_PART(sqlst->contents)); } |
#sql ⇒ Object
44 45 46 47 48 49 |
# File 'ext/gda/gda_statement.c', line 44 static VALUE sql(VALUE self) { GdaSqlStatement * sqlst; TypedData_Get_Struct(self, GdaSqlStatement, &structure_type, sqlst); return rb_str_new2(sqlst->sql); } |