tareq1988 / wp-eloquent

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

Return value after delete query #25

Closed ediamin closed 8 years ago

ediamin commented 8 years ago

Right now nothing is returning after delete query.

devonbessemer commented 8 years ago

26 addresses this a bit differently. The problem with this is utilizing bind_and_run which is stated in the doc that is supposed to return an array, not an integer. While that can be updated, utilizing affectingStatement should be more consistent as both are* meant to return integers.