User Tools

Site Tools


podoc:number_of_dupes_sql_function

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

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';
podoc/number_of_dupes_sql_function.txt · Last modified: 2007/04/23 10:30 by Luud