Flupdo  v1.3-3-g87aee13
Static Public Member Functions | List of all members
Flupdo Class Reference

Description

Extend PDO class with query builder starting methods.

These methods are simple factory & proxy to FlupdoBuilder.

Inheritance diagram for Flupdo

Static Public Member Functions

static createInstanceFromConfig ($config)
 Creates instance of this class using configuration specified in array. More...
 

Member Function Documentation

◆ createInstanceFromConfig()

static createInstanceFromConfig (   $config)
static

Creates instance of this class using configuration specified in array.

$config is array containing these keys:

  • dsn
  • username
  • password

Or:

  • driver
  • database
  • host
  • username
  • password

See PDO documentation for details.