All Manuals > LispWorks® User Guide and Reference Manual > 45 The SQL Package

instance-refreshed Generic Function

Summary

Provides a hook for user code on View Class instance updates.

Package

sql

Signature

instance-refreshed instance

Arguments
instance
An instance of a View Class.
Description

The generic function instance-refreshed is called inside select when its refresh argument is true and the instance instance has just been updated.

The supplied method on standard-db-object does nothing. If your application needs to take action when a View Class instance has been updated by:

(select ... :refresh t)

then add an instance-refresh method specializing on your subclass of standard-db-object.

See also

def-view-class
select


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:56