File tree 2 files changed +9
-3
lines changed
reference/sqlite3/sqlite3stmt 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 28
28
<term ><parameter >sql_param</parameter ></term >
29
29
<listitem >
30
30
<para >
31
- Either a <type >string</type > or an <type >int</type > identifying the statement variable to which the
32
- parameter should be bound.
31
+ Either a <type >string</type > (for named parameters) or an <type >int</type >
32
+ (for positional parameters) identifying the statement variable to which the
33
+ value should be bound.
34
+ If a named parameter does not start with a colon, it is automatically preprended.
35
+ Positional parameters start with <literal >1</literal >.
33
36
</para >
34
37
</listitem >
35
38
</varlistentry >
Original file line number Diff line number Diff line change 32
32
<term ><parameter >sql_param</parameter ></term >
33
33
<listitem >
34
34
<para >
35
- Either a <type >string</type > or an <type >int</type > identifying the statement variable to which the
35
+ Either a <type >string</type > (for named parameters) or an <type >int</type >
36
+ (for positional parameters) identifying the statement variable to which the
36
37
value should be bound.
38
+ If a named parameter does not start with a colon, it is automatically preprended.
39
+ Positional parameters start with <literal >1</literal >.
37
40
</para >
38
41
</listitem >
39
42
</varlistentry >
You can’t perform that action at this time.
0 commit comments