Connection.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\ShSo\Lacassa\Connection

Package: Default
Parent(s)
\Illuminate\Database\Connection

Properties

>VPropertyprotected\Cassandra\DefaultSession $connection
The Cassandra connection handler.
Details
Type
\Cassandra\DefaultSession

Methods

methodpublic__call(string $method, array $parameters) : mixed

Dynamically pass methods to the connection.

Parameters
NameTypeDescription
$methodstring
$parametersarray
Returns
TypeDescription
mixed
methodpublic__construct(array $config) : void

Create a new database connection instance.

Parameters
NameTypeDescription
$configarray
methodpublicaffectingStatement( $query,  $bindings = array()) : void

Parameters
NameTypeDescription
$query
$bindings
methodprotectedcreateConnection(array $config) : \Cassandra\Session

Create a new Cassandra connection.

Parameters
NameTypeDescription
$configarray
Returns
TypeDescription
\Cassandra\Session
methodpublicdisconnect() : void

methodpublicgetConnection() : \Cassandra\Session

return Cassandra object.

Returns
TypeDescription
\Cassandra\Session
methodprotectedgetDefaultPostProcessor() : \ShSo\Lacassa\Query\Processor

Returns
TypeDescription
\ShSo\Lacassa\Query\Processor
methodprotectedgetDefaultQueryBuilder() : \ShSo\Lacassa\Query\Builder

Returns
TypeDescription
\ShSo\Lacassa\Query\Builder
methodprotectedgetDefaultQueryGrammar() : \ShSo\Lacassa\Query\Grammar

Returns
TypeDescription
\ShSo\Lacassa\Query\Grammar
methodprotectedgetDefaultSchemaGrammar() : \ShSo\Lacassa\Schema\Grammar

Returns
TypeDescription
\ShSo\Lacassa\Schema\Grammar
methodpublicgetDriverName() : string

Returns
TypeDescription
string
methodpublicgetSchemaBuilder() : \ShSo\Lacassa\Schema\Builder

Returns
TypeDescription
\ShSo\Lacassa\Schema\Builder
methodpublicgetSchemaGrammar() : \ShSo\Lacassa\Schema\Grammar

Returns the connection grammer.

Returns
TypeDescription
\ShSo\Lacassa\Schema\Grammar
methodprotectedreconnectIfMissingConnection() : void

Reconnect to the database if a PDO connection is missing.

methodpublicstatement( $query,  $bindings = array()) : void

Parameters
NameTypeDescription
$query
$bindings
methodpublictable(string $table) : \ShSo\Lacassa\Query\Builder

Begin a fluent query against a database table.

Parameters
NameTypeDescription
$tablestring
Returns
TypeDescription
\ShSo\Lacassa\Query\Builder
Documentation was generated by phpDocumentor 2.9.0.