original_string: public static function where($column, $relation, $value)
      {
          $self = self::instance();
          $key = $self->_keyName;
          $data = \Query::from($self->_table)->select($key)->where($column, $relation, $value)->get();
          $rows = [];
  
          if (!is_null($data)) {
              foreach ($data as $item) {
                  $rows[] = self::instance($item->$key);
              }
          }
  
          return $rows;
      }
code: public static function where($column, $relation, $value)
      {
          $self = self::instance();
          $key = $self->_keyName;
          $data = \Query::from($self->_table)->select($key)->where($column, $relation, $value)->get();
          $rows = [];
  
          if (!is_null($data)) {
              foreach ($data as $item) {
                  $rows[] = self::instance($item->$key);
              }
          }
  
          return $rows;
      }
code_tokens: public static function where ( $ column , $ relation , $ value ) { $ self = self :: instance ( ) ; $ key = $ self -> _keyName ; $ data = \ Query :: from ( $ self -> _table ) -> select ( $ key ) -> where ( $ column , $ relation , $ value ) -> get ( ) ; $ rows = [ ] ; if ( ! is_null ( $ data ) ) { foreach ( $ data as $ item ) { $ rows [ ] = self :: instance ( $ item -> $ key ) ; } } return $ rows ; }
docstring: get data by where clause.
  
  @param string $column
  @param string $relation
  @param string $value
  
  @return array
docstring_tokens: get data by where clause .