The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Doodle::Index

ABSTRACT

Doodle Index Class

SYNOPSIS

  use Doodle::Index;

  my $self = Doodle::Index->new(%args);

DESCRIPTION

Table index representation.

METHODS

This package implements the following methods.

create

  create(Any %args) : Command

Registers an index create and returns the Command object.

create example
  my $create = $self->create;

delete

  delete(Any %args) : Command

Registers an index delete and returns the Command object.

delete example
  my $delete = $self->delete;

doodle

  doodle() : Doodle

Returns the associated Doodle object.

doodle example
  my $doodle = $self->doodle;

unique

  unique() : Index

Denotes that the index should be created and enforced as unique and returns itself.

unique example
  my $unique = $self->unique;