NAME
Zing::Repo - Generic Store
ABSTRACT
Generic Store Abstraction
SYNOPSIS
use Zing::Repo;
my $repo = Zing::Repo->new(name => 'text');
# $repo->recv;
DESCRIPTION
This package provides a general-purpose data storage abstraction.
LIBRARIES
This package uses type constraints from:
ATTRIBUTES
This package has the following attributes:
name
name(Str)
This attribute is read-only, accepts (Str)
values, and is required.
store
store(Store)
This attribute is read-only, accepts (Store)
values, and is optional.
METHODS
This package implements the following methods:
drop
drop() : Int
The drop method returns truthy if the data was removed from the store.
search
search() : Search
The search method returns a Zing::Search object based on the current repo or Zing::Repo derived object.
term
term() : Str
The term method generates a term (safe string) for the datastore.
test
test() : Int
The test method returns truthy if the specific key (or datastore) exists.
AUTHOR
Al Newkirk, awncorp@cpan.org
LICENSE
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".