NAME

Search::Typesense::Version - Version object for the Typesense server

DESCRIPTION

Do not use directly. This is returned by the typesense_version method from Search::Typesense.

METHODS

version_string

my $version        = $typesense->typesense_version;
my $version_string = $version->version_string;

Returns the semantic version string, such as 0.19.0.

major

my $version = $typesense->typesense_version;
my $major   = $version->major;

Returns the major version number.

minor

my $version = $typesense->typesense_version;
my $minor   = $version->minor;

Returns the minor version number.

path

my $version = $typesense->typesense_version;
my $patch   = $version->patch;

Returns the patch version number.