From d53e7dd1fc8e7318b19224dc183d22cd55a52597 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 27 Apr 2024 21:08:04 +0200 Subject: [PATCH] Re-extracted class docs. --- .../doc_classes/DatabaseConnection.xml | 7 +- .../doc_classes/PreparedStatement.xml | 248 ++++++++++++++++++ modules/database/doc_classes/QueryBuilder.xml | 101 +++++-- modules/database/doc_classes/TableBuilder.xml | 5 + 4 files changed, 334 insertions(+), 27 deletions(-) create mode 100644 modules/database/doc_classes/PreparedStatement.xml diff --git a/modules/database/doc_classes/DatabaseConnection.xml b/modules/database/doc_classes/DatabaseConnection.xml index 7028291c2..57347a7b6 100644 --- a/modules/database/doc_classes/DatabaseConnection.xml +++ b/modules/database/doc_classes/DatabaseConnection.xml @@ -7,8 +7,13 @@ + + + + + - + diff --git a/modules/database/doc_classes/PreparedStatement.xml b/modules/database/doc_classes/PreparedStatement.xml new file mode 100644 index 000000000..a97a20fd2 --- /dev/null +++ b/modules/database/doc_classes/PreparedStatement.xml @@ -0,0 +1,248 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/database/doc_classes/QueryBuilder.xml b/modules/database/doc_classes/QueryBuilder.xml index 511e8b175..e57e379de 100644 --- a/modules/database/doc_classes/QueryBuilder.xml +++ b/modules/database/doc_classes/QueryBuilder.xml @@ -53,6 +53,11 @@ Closes the current [code]ORDER BY[/code] statement. (Usually by removing the last [code],[/code]). + + + + + @@ -382,10 +387,21 @@ [/codeblock] - + - Part of the unfinished prepared statement api. + + + + + + + + + + + + @@ -425,30 +441,6 @@ Adds a statement to select and return the last inserted row's id. - - - - - - Part of the unfinished prepared statement api. - - - - - - - - Part of the unfinished prepared statement api. - - - - - - - - Part of the unfinished prepared statement api. - - @@ -488,6 +480,26 @@ [/codeblock] + + + + + + + + + + + + + + + + + + + + @@ -596,6 +608,23 @@ [/codeblock] + + + + + + + + + + + + + + + + + @@ -667,6 +696,26 @@ [/codeblock] + + + + + + + + + + + + + + + + + + + + diff --git a/modules/database/doc_classes/TableBuilder.xml b/modules/database/doc_classes/TableBuilder.xml index cc08d465f..2627aa669 100644 --- a/modules/database/doc_classes/TableBuilder.xml +++ b/modules/database/doc_classes/TableBuilder.xml @@ -201,6 +201,11 @@ result += "REFERENCES " + table + " (" + name + ") "; + + + + +