Namespaces

  • Dibi
    • Bridges
      • Nette
      • Tracy
    • Drivers
    • Loggers
    • Reflection
  • none

Classes

  • Connection
  • DataSource
  • DateTime
  • Event
  • Expression
  • Fluent
  • Helpers
  • Literal
  • Result
  • ResultIterator
  • Row
  • Translator
  • Type

Interfaces

  • Driver
  • IDataSource
  • Reflector
  • ResultDriver

Traits

  • Strict

Exceptions

  • ConstraintViolationException
  • DriverException
  • Exception
  • ForeignKeyConstraintViolationException
  • NotImplementedException
  • NotNullConstraintViolationException
  • NotSupportedException
  • PcreException
  • ProcedureException
  • UniqueConstraintViolationException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Dibi homepage

Class Helpers

Dibi\Helpers uses Dibi\Strict
Namespace: Dibi
Located at Dibi/Helpers.php
Methods summary
public static string
# dump( string|Dibi\Result $sql = null, boolean $return = false )

Prints out a syntax highlighted version of the SQL command or Result.

Prints out a syntax highlighted version of the SQL command or Result.

Parameters

$sql
$return
output instead of printing it?

Returns

string
string
public static
# alias( array & $config, string $key, string $alias )

Apply configuration alias or default values.

Apply configuration alias or default values.

Parameters

$config
configuration
$key
key
$alias
key
public static integer
# loadFromFile( Dibi\Connection $connection, $file, callable $onProgress = null )

Import SQL dump from file.

Import SQL dump from file.

Returns

integer
count of sql commands
Methods used from Dibi\Strict
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod()
Dibi 3.1.1 API documentation API documentation generated by ApiGen 2.8.0