31 Aug '17, 12am

ドキュメントがあんまり書かれていない。 Class: Mysql2::Result — Documentation for mysql2 (0.4.9) https://t.co/zocUJRvE76

# File 'ext/mysql2/result.c', line 859 static VALUE rb_mysql_result_each(int argc, VALUE * argv, VALUE self) { result_each_args args; VALUE defaults, opts, block, (*fetch_row_func)(VALUE, MYSQL_FIELD *fields, const result_each_args *args); ID db_timezone, app_timezone, dbTz, appTz; int symbolizeKeys, asArray, castBool, cacheRows, cast; GET_RESULT(self); if (wrapper->stmt_wrapper && wrapper->stmt_wrapper->closed) { rb_raise(cMysql2Error, "Statement handle already closed"); } defaults = rb_iv_get(self, "@query_options"); Check_Type(defaults, T_HASH); if (rb_scan_args(argc, argv, "01&", &opts, &block) == 1) { opts = rb_funcall(defaults, intern_merge, 1, opts); } else { opts = defaults; } symbolizeKeys = RTEST(rb_hash_aref(opts, sym_symbolize_keys)); asArray = rb_hash_aref(opts, sym_as) == sym_array; castBool = RTEST(rb_hash_aref(opts, sym_cast_booleans)); cacheRows = RTEST(rb...

Full article: http://www.rubydoc.info/gems/mysql2/0.4.9/Mysql2/Result

Tweets

Class 7 All-Electric Truck From Cummins Revealed

Class 7 All-Electric Truck From Cummins Revealed

cleantechnica.com 30 Aug '17, 12pm

The Cummins Class 7 electric truck prototype is dubbed AEOS — one of the horses that pulled the golden chariot of Helios a...

Singapore Airlines: new first class, business class launch Nov 2

Singapore Airlines: new first class, business c...

ausbt.com.au 01 Sep '17, 4am

Lounge Invitations + 60,000 bonus Qantas Points - Qantas Money Ad Access Qantas operated International Business lounges tw...

Cummins All Electric Class 7 Truck Revealed

gas2.org 30 Aug '17, 11am

The Cummins Class 7 electric truck prototype is dubbed AEOS — one of the horses that pulled the golden chariot of Helios a...