Example #1
0
 /**
  * Determine if the given table has a given column.
  *
  * @param string $table
  * @param string $column
  * @return bool 
  * @static 
  */
 public static function hasColumn($table, $column)
 {
     //Method inherited from \Illuminate\Database\Schema\Builder
     return \Jenssegers\Mongodb\Schema\Builder::hasColumn($table, $column);
 }
Example #2
0
 /**
  * Determine if the given table has a given column.
  *
  * @param string $table
  * @param string $column
  * @return bool 
  * @static 
  */
 public static function hasColumn($table, $column)
 {
     return \Jenssegers\Mongodb\Schema\Builder::hasColumn($table, $column);
 }