mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-26 04:09:50 -05:00
### Does this PR have any customer impact? No ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Docs ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) No ### Are you introducing any new config? If yes, do you have tests with and without them being set? No ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description This PR includes updates to add base Doxygen comments within SQL files, setting up initial documentation structure for functions. Additionally, it includes Doxygen configuration files (Doxyfile, etc.) tailored to support SQL file parsing and documentation generation. ---- #### AI description (iteration 1) #### PR Classification Documentation #### PR Summary This pull request adds Doxygen comments to various `helio_api` functions to improve code documentation. - Added Doxygen comments to functions in `sql/udfs/commands_crud/query_cursors_single_page--latest.sql` - Added Doxygen comments to functions in `sql/udfs/utils/extension_version_utils--latest.sql` - Added Doxygen comments to functions in `sql/udfs/auth/auth_scram--latest.sql` - Added Doxygen comments to functions in `sql/udfs/commands_crud/delete--latest.sql` - Added Doxygen comments to functions in `sql/udfs/schema_mgmt/create_collection_view--latest.sql`
28 lines
1023 B
SQL
28 lines
1023 B
SQL
/**
|
|
* @ingroup utils
|
|
* @brief Retrieves the binary version of the DocumentDB API.
|
|
*
|
|
* @details This function returns the version string of the DocumentDB API binary.
|
|
*
|
|
* @returns A text string representing the binary version.
|
|
*/
|
|
CREATE OR REPLACE FUNCTION __API_SCHEMA_V2__.binary_version()
|
|
RETURNS text
|
|
LANGUAGE C
|
|
IMMUTABLE PARALLEL SAFE STRICT
|
|
AS 'MODULE_PATHNAME', __CONCAT_NAME_FUNCTION__($function$get_, __API_SCHEMA_V2__, _binary_version$function$);
|
|
|
|
/**
|
|
* @ingroup utils
|
|
* @brief Retrieves the extended binary version of the DocumentDB API.
|
|
*
|
|
* @details This function returns a more detailed version string of the DocumentDB API binary,
|
|
* including additional build metadata.
|
|
*
|
|
* @returns A text string representing the extended binary version.
|
|
*/
|
|
CREATE OR REPLACE FUNCTION __API_SCHEMA_V2__.binary_extended_version()
|
|
RETURNS text
|
|
LANGUAGE C
|
|
IMMUTABLE PARALLEL SAFE STRICT
|
|
AS 'MODULE_PATHNAME', __CONCAT_NAME_FUNCTION__($function$get_, __API_SCHEMA_V2__, _extended_binary_version$function$); |