Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an alias for count in Trilogy::Result
It was reported in trilogy-libraries#206 that `size` was not defined. Looking at the mysql2 implementation `size` is just an alias to `count` ``` rb_define_method(cMysql2Result, "count", rb_mysql_result_count, 0); rb_define_alias(cMysql2Result, "size", "count"); ``` [source](https://github.com/brianmario/mysql2/blob/f6a9b68b42a51d1a370403f11eb88527dcb42dc6/ext/mysql2/result.c#L1241-L1242) This adds an alias for `count` called `size`
- Loading branch information