database::connect($params = null)

Connects to a database

  • $params (mixed)
    This can either be a config key or an array of parameters for the connection
  • return (object)