Skip to content

Examples of crud operation with classes using redbean ORM

Notifications You must be signed in to change notification settings

mdsaad13/Crud-Redbean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

Crud-Redbean

Examples of crud operation with classes using redbean ORM

Step 1 : Include the class file

require_once 'class.php'; 

Step 2 : Create object of class Operations

$db = new Operations; 

All detailed examples are inexamples branch

Some basic operations

$db->insert(string 'table_name', array $array_of_fields_to_insert);
$db->update(string 'tablename', array $array_containing_fields, int $id);
$db->delete(string 'tablename', int $id);
$db->SelectByID(string 'tablename', int $id);

Refer controllers/class.php for more operations

Releases

No releases published

Packages

No packages published