Support » Everything else WordPress » No records found return types from get_var and get_row

  • 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.

    J.

  • The topic ‘No records found return types from get_var and get_row’ is closed to new replies.