Module: GDA
- Defined in:
- lib/gda.rb,
lib/gda/visitors/dot.rb,
lib/gda/visitors/each.rb,
lib/gda/visitors/visitor.rb,
lib/gda/visitors/max_depth.rb,
ext/gda/gda.c
Defined Under Namespace
Modules: Nodes, SQL, Visitors
Constant Summary
collapse
- VERSION =
'1.1.0'
Class Method Summary
collapse
Class Method Details
.sql_identifier_split(string) ⇒ Object
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# File 'ext/gda/gda.c', line 62
static VALUE sql_identifier_split(VALUE klass, VALUE string)
{
gchar ** list;
int i;
VALUE ids;
ids = rb_ary_new();
list = gda_sql_identifier_split(StringValuePtr(string));
for (i = 0; list[i]; i++) {
rb_ary_push(ids, rb_str_new2(list[i]));
}
g_strfreev(list);
return ids;
}
|