wordpress/wp-content/plugins/sqlite-integration/pdodb.class.php
/**
	 * Method to return what the database can do.
	 *
	 * This overrides wpdb::has_cap() to avoid using MySQL functions.
	 * SQLite supports subqueries, but not support collation, group_concat and set_charset.
	 *
	 * @see wpdb::has_cap()
	 */
Method to return what the database can do.
This overrides wpdb::has_cap() to avoid using MySQL functions.
SQLite supports subqueries, but not support collation, group_concat and set_charset.


Method to return what the database can do . This overrides wpdb :: has_cap () to avoid using MySQL functions . SQLite supports subqueries but not support collation group_concat and set_charset .
public function has_cap($db_cap) {
		switch(strtolower($db_cap)) {
			case 'collation':
			case 'group_concat':
			case 'set_charset':
				return false;
			case 'subqueries':
				return true;
			default:
				return false;
		}
	}
public function has_cap ( $ db_cap ) { switch ( strtolower ( $ db_cap ) ) { case 'collation' : case 'group_concat' : case 'set_charset' : return false ; case 'subqueries' : return true ; default : return false ; } }
Method to return what the database can do.
Method to return what the database can do .