Class: TinyTds::Result

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
ext/tiny_tds/result.c,
lib/tiny_tds/result.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) affected_rows

- (Object) cancel

- (Object) do

- (Object) each

- (Object) fields

- (Object) insert

- (Object) return_code

Duplicated in client.c



# File 'ext/tiny_tds/result.c'

static VALUE rb_tinytds_result_return_code(VALUE self) {
GET_RESULT_WRAPPER(self);
if (rwrap->client && dbhasretstat(rwrap->client)) {
  return LONG2NUM((long)dbretstatus(rwrap->client));
}