Postmodern Examples Table of Contents Insert
In s-sql, updates operate the way you would expect them to, given what we have seen up above.
Now temporarily assume that we do not have a normalized database and we have a field "region_name" in the countries table in the database and a slot accessor named region-name in the countries class.
We could update a set of the countries rows to get the regional names for a particular set of countries, given a list of countries.id as follows:
Assume you wanted to update a record with id=5 and you had a plist of the the columns to be updated. Assuming you wanted to create something reusable, you could use a query like the following:
Postmodern examples >