final class SqliteProvider implements ProviderInterface

SQLite provider can help to retrieve data from sqlite database and marshalling between another fields for SQLite.

Methods

void
attach(Xeed $xeed, string|null $table = null)

Attach child provider to DB instance.

static array
mapForeignKeys(array $foreignKey, string $table)

{@inheritDoc}

static array
map(array $column, string|null $table = null, Xeed|null $xeed = null)

Do mapping method between another fields for Database.

Details

at line 21
void attach(Xeed $xeed, string|null $table = null)

Attach child provider to DB instance.

Parameters

Xeed $xeed

Xeed instance

string|null $table

The table name to attach child provider

Return Value

void

at line 56
static array mapForeignKeys(array $foreignKey, string $table)

{@inheritDoc}

Parameters

array $foreignKey
string $table

Return Value

array

at line 70
static array map(array $column, string|null $table = null, Xeed|null $xeed = null)

Do mapping method between another fields for Database.

Parameters

array $column

Original column data

string|null $table

Table name

Xeed|null $xeed

Database instance

Return Value

array

The method returns mapped column data