Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on May 5, 2020. It is now read-only.
ratajs edited this page Feb 13, 2017 · 2 revisions

Exists

Tests if row is existing. Syntax:
$object->exists(string $table, mixed $array, bool $all)
Object
- Object of extension.
Table
- Table name.
Array
- String of SQL condition or array, where key is column name and value is its value. When all respectively one is true, returns TRUE.
All
- If it’s TRUE, this method will return true only when all conditions are true, else this method will return true when whichever condition is true.
Return value: This method returns TRUE or FALSE, if the row is right now existing.
Clone this wiki locally
Morty Proxy This is a proxified and sanitized view of the page, visit original site.