User Tools

Site Tools


podoc:count_photos_sql_function

This is an old revision of the document!


Database Function Description of "count_photos"

Name

count_photos

Description

Purpose

Schema

create function count_photos() returns bigint
as 'select count(identifier) from photo' language 'sql';
create function count_photos(integer) returns bigint
as 'select count(identifier) from photo where access_rights <= $1' language 'sql';

History

Used first

Version 2.5

Used last

Still in use

Change history

= Version 2.5 =

create function count_photos() returns bigint
as 'select count(identifier) from photo' language 'sql';
create function count_photos(integer) returns bigint
as 'select count(identifier) from photo where access_rights <= $1' language 'sql';
podoc/count_photos_sql_function.1176449005.txt.gz · Last modified: 2007/04/13 07:23 by Luud