tareq1988 / wp-eloquent

Eloquent ORM for WordPress
https://tareq.co/2015/05/eloquent-orm-in-wordpress/
566 stars 135 forks source link

Fixed database transaction #38

Closed YevhenMikulenko closed 6 years ago

YevhenMikulenko commented 6 years ago

36 According to the original documentation the query method is returned 0 when any of rows weren't affected but it's not an error. For transaction need to use "false !== $result" condition