Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 712 Bytes

File metadata and controls

33 lines (17 loc) · 712 Bytes

#Functions Guide The following guide shows the functions that are accessible in the framework together with the parameters they take and response to be expected.

##Database Functions

The following are the functions that can be used to perform database functions

Create Records

DB::create($table,$data);

Get Records

All Records

DB::all($table,$flags[0:default limit of 1000|1:all records without limit]|optional);

This returns a maximum of 1000 results

Specific Columns

DB::columns($table,array [column1,column2,column3,...]);

Find by id

DB::find($table,$id);

Find by column

DB::where($table,$column,$condition,$value);

Update Records