The real problem is that the Database and DatabaseConnection object documentation is not currently displayed on api.drupal.org, which is a separate and known issue in the API module. Once that is done, then the doc for the db_select() function should link to the spot in DatabaseConnection where the options array is documented.
db_select() doc header needs to link to $options doc
» $options param for all the database functions needs explanation
Status:
Postponed
» Active
Yeah... Once the SelectQuery object is available on api.drupal.org, we should be mostly OK on this.
However, I do think that the Database Abstraction Layer page needs to explain $options. This is a common argument on many of the functions, and it is never explained anywhere, that I can see.
Actually, that page is kind of a mess and needs cleanup in general...
Comments
Comment #1
jhodgdonThe real problem is that the Database and DatabaseConnection object documentation is not currently displayed on api.drupal.org, which is a separate and known issue in the API module. Once that is done, then the doc for the db_select() function should link to the spot in DatabaseConnection where the options array is documented.
Comment #2
jhodgdonComment #3
jhodgdonYeah... Once the SelectQuery object is available on api.drupal.org, we should be mostly OK on this.
However, I do think that the Database Abstraction Layer page needs to explain $options. This is a common argument on many of the functions, and it is never explained anywhere, that I can see.
Actually, that page is kind of a mess and needs cleanup in general...
http://api.drupal.org/api/group/database/7
Comment #4
sbrattla commentedThis is still an issue...can't see anywhere what $options are good for.