provides => {
exists => 'exists_column',
keys => 'column_ids',
+ values => 'get_columns',
get => 'get_column',
},
curries => {
provides => {
exists => 'exists_index',
keys => 'index_ids',
+ values => 'get_indices',
get => 'get_index',
},
curries => {
provides => {
exists => 'exists_constraint',
keys => 'constraint_ids',
+ values => 'get_constraints',
get => 'get_constraint',
},
curries => {
}
}
},
- default => sub { {} },
+ default => sub { my %hash = (); tie %hash, 'Tie::IxHash'; return \%hash },
);
has 'sequences' => (
provides => {
exists => 'exists_sequence',
keys => 'sequence_ids',
+ values => 'get_sequences',
get => 'get_sequence',
},
curries => {
isa => Bool,
default => 0
);
+
+ method get_fields { return $self->get_columns }
}