Browse code

- add a short note that big int and floating point values are not supported

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@5790 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 06/04/2009 12:20:59
Showing 4 changed files
... ...
@@ -12,8 +12,8 @@ Ramona-Elena Modroiu
12 12
 
13 13
    Copyright � 2004, 2005 voice-system.ro
14 14
    Revision History
15
-   Revision $Revision$ $Date: 2008-08-06 13:08:33 +0300
16
-                              (Wed, 06 Aug 2008) $
15
+   Revision $Revision$ $Date: 2008-08-06 12:08:33 +0200
16
+                              (Mi, 06 Aug 2008) $
17 17
      __________________________________________________________
18 18
 
19 19
    Table of Contents
... ...
@@ -384,7 +384,10 @@ avp_db_delete("$uuid","$avp(s:404fwd)/fwd_table");
384 384
        "$avp(i:1);$avp(i:2);...". If the result gives many rows,
385 385
        then multiple AVPs with corresponding name will be added.
386 386
        The value type of the AVP (string or integer) will be
387
-       derived from the type of the columns.
387
+       derived from the type of the columns. Please note that only
388
+       this two datatypes are supported, so its not possible for
389
+       example to return floating point or big integer values this
390
+       way.
388 391
 
389 392
    The function delivers the following return-codes:
390 393
      * -1 - An error occured while querying the database (e.g.
... ...
@@ -521,7 +521,9 @@ avp_db_delete("$uuid","$avp(s:404fwd)/fwd_table");
521 521
 				<quote>$avp(i:1);$avp(i:2);...</quote>. If the result gives
522 522
 				many rows, then multiple AVPs with corresponding name will
523 523
 				be added. The value type of the AVP (string or integer) will
524
-				be derived from the type of the columns.
524
+				be derived from the type of the columns. Please note that only
525
+				this two datatypes are supported, so its not possible for
526
+				example to return floating point or big integer values this way.
525 527
 				</para>
526 528
 			</listitem>
527 529
 			</itemizedlist>
... ...
@@ -60,7 +60,11 @@ Chapter 1. Admin Guide
60 60
        time. Thus is possible to work in parallel with several DB
61 61
        results.
62 62
      * access via pseudo-variables - the content of SQL query
63
-       result is accessible via pseudo-variables.
63
+       result is accessible via pseudo-variables. Please note that
64
+       only integer and string variables are supported at the
65
+       moment because of the internal usage of "AVPs" to hold the
66
+       values. So its not possible for example to return floating
67
+       point or big integer values this way.
64 68
      * array indexes - fast access to result values via array
65 69
        possition: [row,column].
66 70
      * persistence in process space - a result can be used many
... ...
@@ -25,13 +25,17 @@
25 25
 			<emphasis>many DB results</emphasis> - the module can store
26 26
 			many results of different SQL queries in separate structures at
27 27
 			the same time. Thus is possible to work in parallel with several
28
-			DB results.			
28
+			DB results.
29 29
 		</para>
30 30
 		</listitem>
31 31
 		<listitem>
32 32
 		<para>
33 33
 			<emphasis>access via pseudo-variables</emphasis> - the content
34
-			of SQL query result is accessible via pseudo-variables.
34
+			of SQL query result is accessible via pseudo-variables. Please
35
+			note that only integer and string variables are supported at the
36
+			moment because of the internal usage of <quote>AVPs</quote> to hold
37
+			the values. So its not possible for example to return floating point
38
+			or big integer values this way.
35 39
 		</para>
36 40
 		</listitem>
37 41
 		<listitem>