number_of_dupes
Count the number of photo duplicates.
To return the number of photo duplicates.
CREATE FUNCTION number_of_dupes(integer) returns bigint AS 'select count(identifier) from photo_dupe where photo = $1' LANGUAGE 'sql';
Version 2.5
Still in use
= Version 2.5 =
CREATE FUNCTION number_of_dupes(integer) returns bigint AS 'select count(identifier) from photo_dupe where photo = $1' LANGUAGE 'sql';