---
name: "SQL::Abstract::Role::Plugin"
section: "3pm"
platform: "linux"
package: "libsql-abstract-perl"
version: "2.000001-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SQL::Abstract::Role::Plugin"
---

# SQL::Abstract::Role::Plugin(3pm)

helpful methods for plugin authors

## NAME

SQL::Abstract::Role::Plugin - helpful methods for plugin authors

## METHODS

### apply\_to

Applies the plugin to an SQL::Abstract object.

### register\_extensions

Provided by the plugin, registers its extensions to the sqla object.

### cb

Creates a callback to call a method on the plugin.

### register

Calls methods on the sqla object with arguments wrapped as callbacks.

### sqla

Available only during plugin callback executions, contains the currently active SQL::Abstract object.
