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

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';