No records found return types from get_var and get_row (1 post)

  1. JoeCleave
    Posted 9 years ago #

    There is differing information on ezSQL and WP regarding returns from $wpdb->get_var where no record is found.

    ezSql states the return will be FALSE
    WP states the return will be NULL

    Which is correct?

    Also, if no records are found for a $wpdb->get_row, (defaulting to the returnObject) will I get a FALSE or NULL returned (FALSE I am guessing).

    Help please people.


Topic Closed

This topic has been closed to new replies.

About this Topic