Skip to content

Commit 52bff67

Browse files
committed
add deprecated message for old sqlite db functions
1 parent d60bb6c commit 52bff67

16 files changed

+96
-6
lines changed

frontend/docs/scripting/functions/db_debug_openfiles.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ tags: ["sqlite"]
77

88
<LowercaseNote />
99

10+
:::warning
11+
12+
This function is deprecated. Please see [DB_GetDatabaseConnectionCount](DB_GetDatabaseConnectionCount).
13+
14+
:::
15+
1016
## Description
1117

1218
The function gets the number of open database connections for debugging purposes.
1319

14-
| Name | Description |
15-
| ---- | ----------- |
16-
1720
## Related Functions
1821

1922
- [db_open](db_open): Open a connection to an SQLite database

frontend/docs/scripting/functions/db_debug_openresults.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ tags: ["sqlite"]
77

88
<LowercaseNote />
99

10+
:::warning
11+
12+
This function is deprecated. Please see [DB_GetDatabaseResultSetCount](DB_GetDatabaseResultSetCount).
13+
14+
:::
15+
1016
## Description
1117

1218
The function gets the number of open database results.
1319

14-
| Name | Description |
15-
| ---- | ----------- |
16-
1720
## Related Functions
1821

1922
- [db_open](db_open): Open a connection to an SQLite database

frontend/docs/scripting/functions/db_field_name.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ tags: ["sqlite"]
77

88
<LowercaseNote />
99

10+
:::warning
11+
12+
This function is deprecated. Please see [DB_GetFieldName](DB_GetFieldName).
13+
14+
:::
15+
1016
## Description
1117

1218
Returns the name of a field at a particular index.

frontend/docs/scripting/functions/db_free_result.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ tags: ["sqlite"]
77

88
<LowercaseNote />
99

10+
:::warning
11+
12+
This function is deprecated. Please see [DB_FreeResultSet](DB_FreeResultSet).
13+
14+
:::
15+
1016
## Description
1117

1218
Frees result memory allocated from db_query.

frontend/docs/scripting/functions/db_get_field.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ tags: ["sqlite"]
77

88
<LowercaseNote />
99

10+
:::warning
11+
12+
This function is deprecated. Please see [DB_GetFieldString](DB_GetFieldString).
13+
14+
:::
15+
1016
## Description
1117

1218
Get the content of a field from db_query

frontend/docs/scripting/functions/db_get_field_assoc.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ tags: ["sqlite"]
77

88
<LowercaseNote />
99

10+
:::warning
11+
12+
This function is deprecated. Please see [DB_GetFieldStringByName](DB_GetFieldStringByName).
13+
14+
:::
15+
1016
## Description
1117

1218
Get the contents of field with specified name.

frontend/docs/scripting/functions/db_get_field_assoc_float.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ tags: ["sqlite"]
77

88
<LowercaseNote />
99

10+
:::warning
11+
12+
This function is deprecated. Please see [DB_GetFieldFloatByName](DB_GetFieldFloatByName).
13+
14+
:::
15+
1016
## Description
1117

1218
The function gets the contents of the field as a floating point number from the specified field name.

frontend/docs/scripting/functions/db_get_field_assoc_int.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ tags: ["sqlite"]
77

88
<LowercaseNote />
99

10+
:::warning
11+
12+
This function is deprecated. Please see [DB_GetFieldIntByName](DB_GetFieldIntByName).
13+
14+
:::
15+
1016
## Description
1117

1218
Get the contents of field as an integer with specified name.

frontend/docs/scripting/functions/db_get_field_float.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ tags: ["sqlite"]
77

88
<LowercaseNote />
99

10+
:::warning
11+
12+
This function is deprecated. Please see [DB_GetFieldFloat](DB_GetFieldFloat).
13+
14+
:::
15+
1016
## Description
1117

1218
The function gets the content of a field as a floating point number with the specified field index.

frontend/docs/scripting/functions/db_get_field_int.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ tags: ["sqlite"]
77

88
<LowercaseNote />
99

10+
:::warning
11+
12+
This function is deprecated. Please see [DB_GetFieldInt](DB_GetFieldInt).
13+
14+
:::
15+
1016
## Description
1117

1218
Get the content of a field as an integer from db_query

0 commit comments

Comments
 (0)