head	1.7;
access;
symbols;
locks; strict;
comment	@# @;


1.7
date	92.07.12.16.44.11;	author mao;	state Exp;
branches;
next	1.6;

1.6
date	91.11.20.03.05.48;	author mer;	state Exp;
branches;
next	1.5;

1.5
date	91.03.20.01.11.54;	author kemnitz;	state Exp;
branches;
next	1.4;

1.4
date	91.03.19.19.30.14;	author sp;	state Exp;
branches;
next	1.3;

1.3
date	91.03.19.15.52.13;	author kemnitz;	state Exp;
branches;
next	1.2;

1.2
date	91.03.19.15.09.00;	author kemnitz;	state Exp;
branches;
next	1.1;

1.1
date	91.03.19.00.25.11;	author kemnitz;	state Exp;
branches;
next	;


desc
@@


1.7
log
@fix for 4.0 changes to rules, funcs
@
text
@/*
 * a more complex complex object -- returns a set
 */

define function residents ( language = "postquel",
			    returntype = setof person )
    arg is (city)
    as  "retrieve (p.all) from p in person*
	 where p.location ---> $1.location"
\g
@


1.6
log
@postquel syntax fixes
@
text
@d2 1
a2 1
 * a more complex complex object __ returns a set
d6 1
a6 1
			    returntype = SET )
d8 2
a9 2
    as  retrieve (p.all) from p in person*
	where p.location ---> current.location
@


1.5
log
@Use "SET" rather than "RELATION"
@
text
@d5 6
a10 6
define postquel function residents (city)
returns SET is
retrieve (p.all)
from p in person*
where p.location ---> current.location
\p
@


1.4
log
@reaisdents_2 was causing the rule name to be >15 chars long...
(so what ?) 
@
text
@d6 1
a6 1
returns RELATION is
@


1.3
log
@demo shuffling
@
text
@d5 1
a5 1
define postquel function residents_2 (city)
d9 1
a9 1
where p.location ---> city.location
@


1.2
log
@reorganized demo scripts
@
text
@d1 9
a9 1
create version emp1 from emp
@


1.1
log
@Initial revision
@
text
@d1 1
a1 2
/* here's what the base looks like */
retrieve (emp.all)
@
