User Tools

Site Tools


podoc:number_of_dupes_sql_function

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
podoc:number_of_dupes_sql_function [2007/04/18 10:20]
Luud
podoc:number_of_dupes_sql_function [2007/04/23 10:30] (current)
Luud
Line 15: Line 15:
 === Schema === === Schema ===
  
-<​code>​+<​code ​sql>
 create function number_of_dupes(integer) returns bigint create function number_of_dupes(integer) returns bigint
 as '​select count(identifier) from photo_dupe where photo = $1' language '​sql';​ as '​select count(identifier) from photo_dupe where photo = $1' language '​sql';​
Line 38: Line 38:
 = Version 2.5 = = Version 2.5 =
  
-<​code>​+<​code ​sql>
 create function number_of_dupes(integer) returns bigint create function number_of_dupes(integer) returns bigint
 as '​select count(identifier) from photo_dupe where photo = $1' language '​sql';​ as '​select count(identifier) from photo_dupe where photo = $1' language '​sql';​
 </​code>​ </​code>​
  
podoc/number_of_dupes_sql_function.txt ยท Last modified: 2007/04/23 10:30 by Luud