DBIx-TextIndex
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/DBIx/TextIndex/DBD.pm view on Meta::CPAN
sub collection_count {
my $self = shift;
return <<END;
SELECT COUNT(*) FROM $self->{COLLECTION_TABLE}
END
}
sub update_collection_info {
my $self = shift;
my $field = shift;
return <<END;
UPDATE $self->{COLLECTION_TABLE}
SET $field = ?
WHERE collection = ?
END
}
lib/DBIx/TextIndex/DBD/SQLite.pm view on Meta::CPAN
min_wildcard_length int NOT NULL default 0,
max_wildcard_term_expansion int NOT NULL default 0,
decode_html_entities varchar(1) NOT NULL default '0',
scoring_method varchar(20) NOT NULL default '',
update_commit_interval int NOT NULL default 0
)
END
}
sub update_docweights_execute {
my $self = shift;
my ($sth, $fno, $avg_w_d, $packed_w_d) = @_;
$packed_w_d =~ s/\\/\\\\/g;
$packed_w_d =~ s/\0/\\0/g;
$sth->execute($fno, $avg_w_d, $packed_w_d);
}
sub create_mask_table {
my $self = shift;
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.984 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )