User Tools

Site Tools


podoc:is_photo_for_sale_sql_function

This is an old revision of the document!


Database Function Description of "is_photo_for_sale"

Name

is_photo_for_sale

Description

Purpose

Schema

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

History

Used first

Version 2.8

Used last

Still in use

Change history

= Version 2.8 =

create function is_photo_for_sale(integer) returns bigint
as 'select count(photo_item.identifier) from photo, photo_item where photo.identifier=photo_item.photo and photo.identifier = $1' language 'sql';
podoc/is_photo_for_sale_sql_function.1176722911.txt.gz · Last modified: 2007/04/16 11:28 by Luud