===== Database Function Description of "number_of_dupes" =====
=== Name ===
number_of_dupes
=== Description ===
Count the number of photo duplicates.
=== Purpose ===
To return the number of photo duplicates.
=== Schema ===
create function number_of_dupes(integer) returns bigint
as 'select count(identifier) from photo_dupe where photo = $1' language 'sql';
=== Related tables ===
* [[photo_dupe sql table|photo_dupe]]
=== History ===
== Used first ==
Version 2.5
== Used last ==
Still in use
== Change history ==
= Version 2.5 =
create function number_of_dupes(integer) returns bigint
as 'select count(identifier) from photo_dupe where photo = $1' language 'sql';