Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 400] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403]

Test specific features of the Postgres dml.

Copyright: 2020 Ruslan Kabalin
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 361 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: pgsql_native_moodle_database_testcase  - X-Ref

Test specific features of the Postgres dml.

setUpBeforeClass()   X-Ref
Setup before class.


setUp()   X-Ref
Set up.


get_test_table($suffix = '')   X-Ref
Get a xmldb_table object for testing, deleting any existing table
of the same name, for example if one was left over from a previous test
run that crashed.

param: string $suffix table name suffix, use if you need more test tables
return: xmldb_table the table object.

get_current_index()   X-Ref
Find out the current index used for unique SQL_PARAMS_NAMED.

return: int

test_get_in_or_equal_below_limit()   X-Ref
No description

test_get_in_or_equal_single_array_value()   X-Ref
No description

test_get_in_or_equal_single_scalar_value()   X-Ref
No description

test_get_in_or_equal_multiple_int_value()   X-Ref
No description

test_get_in_or_equal_multiple_int_value_not_equal()   X-Ref
No description

test_get_in_or_equal_named_int_value_default_name()   X-Ref
No description

test_get_in_or_equal_named_int_value_specified_name()   X-Ref
No description

test_get_in_or_equal_named_scalar_value_specified_name()   X-Ref
No description

test_get_in_or_equal_query_use()   X-Ref
No description

test_get_in_or_equal_big_table_query()   X-Ref
No description