Tuesday, March 17, 2009

The return value of df_get_record()

The df_get_record() function is a very useful function because it returns you the specific Xataface record given a set of parameters. For example:



This would get the course record with the primary key (course_id) of 1. When you don't give the function enough searching parameters and it could return a number of records with the parameters, then it returns only the first one.

No comments: