User Tools

Site Tools


podoc:number_of_location_references_sql_function

This is an old revision of the document!


Database Sequence Description of "number_of_location_references"

Name

number_of_location_references

Description

Purpose

Schema

create function number_of_location_references(integer) returns bigint
as 'select count(photo.identifier)
      from photo, location
     where photo.location=location.identifier
       and location.identifier = $1' language 'sql';

History

Used first

Version 2.5

Used last

Still in use

Change history

= Version 2.5 =

create function number_of_location_references(integer) returns bigint
as 'select count(photo.identifier)
      from photo, location
     where photo.location=location.identifier
       and location.identifier = $1' language 'sql';
podoc/number_of_location_references_sql_function.1176395104.txt.gz · Last modified: 2007/04/12 16:25 by Luud