Generic bind function.
Binds 64-bit real value to statement. Returns E_DB_BIND on error.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| integer, | intent(in) | :: | index |
Value index. |
||
| real(kind=r8), | intent(in) | :: | value |
Value. |
Binds 32-bit integer value to statement. Returns E_DB_BIND on
error.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| integer, | intent(in) | :: | index |
Value index. |
||
| integer(kind=i4), | intent(in) | :: | value |
Value. |
Binds 64-bit integer value to statement. Returns E_DB_BIND on
error.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| integer, | intent(in) | :: | index |
Value index. |
||
| integer(kind=i8), | intent(in) | :: | value |
Value. |
Binds query parameters to SQLite statement. Returns E_DB_BIND on
binding error.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| type(db_query_type), | intent(inout) | :: | dbq |
Database query type. |
Binds string value to statement. The value will be trimmed before
binding. Returns E_DB_BIND on error.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| integer, | intent(in) | :: | index |
Value index. |
||
| character(len=*), | intent(in) | :: | value |
Value. |