Some time ago, I introduced alternative names for some of the SQL
wrapper functions, in an attempt to atone for the horrible naming scheme
I set up. It was derived from the previous non-OO naming scheme, and it
really shouldn't have been. But I didn't make it clear that I intended
the old names to be obsolete, and I didn't systematically update the
code. I'm now attempting to correct that. I've removed the old names
completely and updated all the code, in HEAD.
The changes are as follows:
getField -> selectField
getArray -> selectRow
insertArray -> insert
updateArray -> update
The "array" qualifier was to distinguish from functions which took raw
SQL clauses instead of other data. Those functions are obsolete. The
current functions encapsulate that functionality by detecting the
variable type.
The following SQL wrappers are unchanged:
select
insertSelect
replace
delete
deleteJoin
The set() function is obsolete.
-- Tim Starling
Show replies by date