first commit

This commit is contained in:
franknstayn
2021-07-03 18:39:08 +08:00
commit 5483c9517d
1555 changed files with 417773 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?php namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use DB;
class PatternsModel extends Model {
function selectAllPattern() // display all data from database
{
$i = DB::table('patterns')->orderBy('Id', 'ASC')->get();
return $i;
}
}