number_of_support_references
Counts the number of references to a particular support.
Tentative (is this correct?): this represents the number of photos in the database captured using the specified support.
To retrieve the number of references to a particular support.
CREATE FUNCTION number_of_support_references(INTEGER) RETURNS BIGINT AS 'select count(photo_tech.identifier) from photo_tech, support where photo_tech.support=support.identifier and support.identifier = $1' LANGUAGE 'sql';
Version 2.5
Still in use
= Version 2.5 =
CREATE FUNCTION number_of_support_references(INTEGER) RETURNS BIGINT AS 'select count(photo_tech.identifier) from photo_tech, support where photo_tech.support=support.identifier and support.identifier = $1' LANGUAGE 'sql';