Current Record: Using Xataface to search for NULL #75

News

Current Record: Using Xataface to search for NULL #75

News

Click to minimize this section Details

News id 75
Headline Using Xataface to search for NULL
Content If there is a row in a table that contains a NULL value, you can use Xataface to search specifically for that record but it's not as trivial as searching for NULL. You have to set it to an equal sign which will basically look for exact matches to nothing. For example:br /br /blockquote$temp_types = df_get_records_array('n1_tire_types', array('-limit'=200, 'parent_id' = "="));/blockquotebr /br /Will look for columns in the n1_type_types table with a parent_id of empty or NULL.
Image (Empty)
Date posted Fri Nov 7 14:59:00 2008
Posted by noreply@blogger.com (Fong Chun Chan)
Status Approved
Categories Blog
Source id Fong's Blog
Source url http://fongxataface.blogspot.com/2008/11/using-xataface-to-search-for-null.html
Powered by Xataface
(c) 2005-2024 All rights reserved