@@ -8,12 +8,24 @@ WSQL-SDK
8
8
9
9
The chain of tools that make work with SQL procedures easier.
10
10
11
+ Syntax
12
+ ******
13
+ * *#include "<filename>" * - include the specified filename, the absolute and relative urls supported.
14
+ * *#define name <value> * - specify the value, that can be used as *$name *
15
+ * *#define name(arg1, ..., argN) * - the function, that can be used as *$name(a1,...aN) *
16
+ * *#undef name * - undefine previously defined instruction
17
+ * *#if condition expression else alternative * - conditional expressions
18
+ * *SELECT ... ; -- > array * - hint, that informs about query returns more that one element
19
+ * *SELECT ... ; -- > object * - hint, that informs about query returns exactly one element
20
+ * *COMMENT "returns union" * - hint, to merge all objects from results sets to one
21
+ * *COMMENT "<table name> (<colum name column type>,...);" * - hint, that allow to pass the list of arguments to procedure via temporary table
22
+
11
23
wsql-trans:
12
- --------------
24
+ -----------
13
25
The extensions above native SQL.
14
26
15
27
supports:
16
- *********
28
+ #########
17
29
18
30
* macros
19
31
@@ -56,22 +68,16 @@ Now supports python3 native and aio.
56
68
The C++ under development.
57
69
Required `WSQL `_.
58
70
59
- Syntax
60
- ******
61
-
62
- *#include "<filename>" * - include the specified filename, the absolute and relative urls supported.
63
- *#define name <value> * - specify the value, that can be used as *$name *
64
- *#define name(arg1, ..., argN) * - the function, that can be used as *$name(a1,...aN) *
65
- *#undef name * - undefine previously defined instruction*
66
- *#if condition expression else alternative * - conditional expressions
71
+ Hints
72
+ #####
73
+ * *SELECT ... ; -- > array * - hint, that informs about query returns more that one element
74
+ * *SELECT ... ; -- > object * - hint, that informs about query returns exactly one element
75
+ * *COMMENT "returns union" * - hint, to merge all objects from results sets to one
76
+ * *COMMENT "<table name> (<colum name column type>,...);" * - hint, that allow to pass the list of arguments to procedure via temporary table
67
77
68
- *SELECT ... ; -- > array * - hint, that query returns more that one element
69
- *SELECT ... ; -- > object * - hint, that query returns exactly one element
70
- *COMMENT "returns union" * - hint, that merge all objects from results sets to one
71
- *COMMENT "<table name> (<colum name column type>,...);" * - hint, that allow to pass the list to procedure via temporary table
72
78
73
79
SQL
74
- ***
80
+ ###
75
81
.. code-block :: sql
76
82
77
83
CREATE PROCEDURE table1.insert (value VARCHAR(10))
81
87
END
82
88
83
89
Python3
84
- *******
90
+ #######
85
91
86
92
.. code-block :: python
87
93
@@ -106,4 +112,4 @@ Python3
106
112
raise handle_error(exceptions, e)
107
113
108
114
109
- .. _`WSQL` : http://www.mysql.com/
115
+ .. _`WSQL` : http://www.mysql.com/
0 commit comments