function SelectLeastTest::selectLeastProvider
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Database/SelectLeastTest.php \Drupal\KernelTests\Core\Database\SelectLeastTest::selectLeastProvider()
- 11.x core/tests/Drupal/KernelTests/Core/Database/SelectLeastTest.php \Drupal\KernelTests\Core\Database\SelectLeastTest::selectLeastProvider()
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectLeastTest.php, line 24
Class
- SelectLeastTest
- Tests the SQL LEAST operator.
Namespace
Drupal\KernelTests\Core\DatabaseCode
public static function selectLeastProvider() {
return [
[
[
1,
2,
3,
4,
5,
6,
],
1,
],
[
[
'A',
'B',
'C',
'NULL',
'F',
],
'A',
],
[
[
'NULL',
'NULL',
],
'NULL',
],
[
[
'TRUE',
'FALSE',
],
'FALSE',
],
[
[
'A',
'B',
'C',
'NULL',
],
'A',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.