li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.2.x)
  • lithium
  • data
  • source
  • database
  • adapter
  • Sqlite3
  • disconnect()

Contents

  • ../

lithium\data\source\database\adapter\Sqlite3::disconnect()

Implements lithium\data\Source::disconnect()
public method

Disconnects the adapter from the database.

Returns

boolean

True on success, else false.

Source

	public function disconnect() {
		if ($this->_isConnected) {
			unset($this->connection);
			$this->_isConnected = false;
		}
		return true;
	}
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

– no comment –

Pretty much everything is (c) 2009-2025 and beyond, the Union of RAD.