Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 39 lines (30 sloc) 0.666 kB
de74963 @docelic * 5 more filters documented
docelic authored
1 __NAME__ purpose
2 perform lookup in another database
3 __END__
4
5
6 __NAME__ see also
7 __END__
8
9
10 __NAME__ description
11 The filter performs a lookup in another database.
12 </para><para>
13 See <xref linkend='lookup_examples'/> for clarification.
14 __END__
15
16
17 __NAME__ example: Filter example
18 Suppose we have two databases, <database>products</database> and
19 <database>support</database>, as follows:
20 <screen>
21 code price description
22 144 12 Item 144
23 145 84 Item 145
24 146 314 Item 146
25 </screen>
26 and
27 <screen>
28 code product_supported
29 144 0
30 145 1
31 146 -1
32 </screen>
4a5a47b @docelic * Solve the problem with extra newline (<p></p>) being printed on most
docelic authored
33
de74963 @docelic * 5 more filters documented
docelic authored
34 Then, performing
35 <code>[filter lookup.support.product_supported]144[/filter]</code> would
36 yield <literal>0</literal>.
37 __END__
38
Something went wrong with that request. Please try again.