Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!5839
Postgres - Support GIN and GIST
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Postgres - Support GIN and GIST
issue/drupal-3397622:3397622-adding-gin-and
into
11.x
Overview
59
Commits
18
Pipelines
22
Changes
6
Open
Brad Jones
requested to merge
issue/drupal-3397622:3397622-adding-gin-and
into
11.x
1 year ago
Overview
59
Commits
18
Pipelines
22
Changes
6
Expand
Closes
#3397622
0
0
Merge request reports
Compare
11.x
version 19
a107cea2
11 months ago
version 18
b2ee71a7
11 months ago
version 17
6b0564ef
11 months ago
version 16
ded8d9bf
11 months ago
version 15
aa7db078
11 months ago
version 14
c8c3eabd
11 months ago
version 13
8df76b2a
11 months ago
version 12
4d142400
1 year ago
version 11
7ba20b4c
1 year ago
version 10
f1bf0ba2
1 year ago
version 9
d3ec1879
1 year ago
version 8
c0baed62
1 year ago
version 7
35351da2
1 year ago
version 6
fd7ffb25
1 year ago
version 5
bf0ea3dd
1 year ago
version 4
e7d55c24
1 year ago
version 3
afa03b66
1 year ago
version 2
65922150
1 year ago
version 1
5374d053
1 year ago
11.x (base)
and
latest version
latest version
b20d6b9f
18 commits,
11 months ago
version 19
a107cea2
17 commits,
11 months ago
version 18
b2ee71a7
16 commits,
11 months ago
version 17
6b0564ef
15 commits,
11 months ago
version 16
ded8d9bf
14 commits,
11 months ago
version 15
aa7db078
13 commits,
11 months ago
version 14
c8c3eabd
12 commits,
11 months ago
version 13
8df76b2a
11 commits,
11 months ago
version 12
4d142400
10 commits,
1 year ago
version 11
7ba20b4c
10 commits,
1 year ago
version 10
f1bf0ba2
9 commits,
1 year ago
version 9
d3ec1879
8 commits,
1 year ago
version 8
c0baed62
7 commits,
1 year ago
version 7
35351da2
6 commits,
1 year ago
version 6
fd7ffb25
5 commits,
1 year ago
version 5
bf0ea3dd
5 commits,
1 year ago
version 4
e7d55c24
4 commits,
1 year ago
version 3
afa03b66
4 commits,
1 year ago
version 2
65922150
3 commits,
1 year ago
version 1
5374d053
2 commits,
1 year ago
6 files
+
327
−
11
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
core/lib/Drupal/Core/Database/Schema/Index.php
0 → 100644
+
40
−
0
Options
<?php
declare
(
strict_types
=
1
);
namespace
Drupal\Core\Database\Schema
;
/**
* Class for Schema API index specifications containing db-specific config.
*/
final
class
Index
extends
\ArrayObject
{
/**
* Constructor.
*
* @param array $fields
* Array of field specifications for the index.
* @param array $config
* Array of db-specific config, keyed by database type. Acceptable
* keys/values for the configuration are determined by the database driver.
*
* @see \Drupal\Core\Database\Connection::databaseType()
*/
public
function
__construct
(
array
$fields
,
protected
array
$config
)
{
parent
::
__construct
(
$fields
);
}
/**
* Getter for db-specific configuration.
*
* @param string $database_type
* Database type.
*
* @return array
* Configuration; if not set, will return an empty array.
*/
public
function
getDatabaseConfig
(
string
$database_type
):
array
{
return
$this
->
config
[
$database_type
]
??
[];
}
}
Loading