Class: Fb::SqlType
- Inherits:
-
Data
- Object
- Data
- Fb::SqlType
- Defined in:
- ext/fb/fb_ext.c
Class Method Summary collapse
-
.from_code(code, subtype) ⇒ String
Returns the SQL type, such as VARCHAR or INTEGER for a given type code and subtype.
Class Method Details
.from_code(code, subtype) ⇒ String
Returns the SQL type, such as VARCHAR or INTEGER for a given type code and subtype.
446 447 448 449 |
# File 'ext/fb/fb_ext.c', line 446 static VALUE sql_type_from_code(VALUE self, VALUE code, VALUE subtype) { return fb_sql_type_from_code(NUM2INT(code), NUM2INT(subtype)); } |