Returns current data row: MyDBRow object, or None
546053
def row(self):
        """"""
        ret = None
        i = self.tableWidget.currentRow()
        if i >= 0:
            ret = self._data[i]
        return ret
556174
def getRowCurrentIndex(self):
        
        curIndex = self.currentIndex()
        col0Index = curIndex.sibling(curIndex.row(), 0)
        return col0Index
249276
private function fetchRow()
    {
        ++$this->cursor;
        $fileId = $this->rowReader->getRow();

        $this->item = $fileId;
    }
65967
private QueryParameters readResultSetRow(int row) throws SQLException {
        int currentRow = getCurrentResultSet().getRow();
        QueryParameters result = null;

        if (currentRow == 0) {
            // before first or last
            if (getCurrentResultSet().isAfterLast() == true) {
                // positioning on last
                getCurrentResultSet().last();
            } else if (getCurrentResultSet().isBeforeFirst() == true) {
                // position on first
                getCurrentResultSet().first();
            } else {
                throw new MjdbcRuntimeException("ResultSet need to be repositioned to get row different than zero");
            }

            currentRow = getCurrentResultSet().getRow();
        }

        if (currentRow == row) {
            result = convertResultSetCurrentLine(getCurrentResultSet());
        }
        if (useRelativePositioning == true) {

            getCurrentResultSet().relative(row - currentRow);

            if (getCurrentResultSet().getRow() > 0) {
                result = convertResultSetCurrentLine(getCurrentResultSet());
            }
        } else if (currentRow < row) {
            while (getCurrentResultSet().next() == true) {
                if (getCurrentResultSet().getRow() == row) {
                    result = convertResultSetCurrentLine(getCurrentResultSet());
                }
            }
        } else {
            while (getCurrentResultSet().previous() == true) {
                if (getCurrentResultSet().getRow() == row) {
                    result = convertResultSetCurrentLine(getCurrentResultSet());
                }
            }
        }

        return result;
    }
617510
def cursor(self):
        
        cursor = self.mdr.cursor()
        with self.transaction():
            try:
                yield cursor
                if cursor.rowcount != -1:
                    self.last_row_count = cursor.rowcount
                self.last_row_id = getattr(cursor, 'lastrowid', None)
            except:
                self.last_row_count = None
                self.last_row_id = None
                _safe_close(cursor)
                raise
1369955
def get_rows(self, *, top=None, skip=None):
        
        url = self.build_url(self._endpoints.get('get_rows'))

        params = {}
        if top is not None:
            params['$top'] = top
        if skip is not None:
            params['$skip'] = skip
        params = None if not params else params
        response = self.session.get(url, params=params)

        if not response:
            return iter(())

        data = response.json()

        return (self.row_constructor(parent=self, **{self._cloud_data_key: row})
                for row in data.get('value', []))
1002127
def new_autorow(self, row=None):
        
        if row==None: self._auto_row += 1
        else:         self._auto_row = row

        self._auto_column=0
        return self
403995
public function getFirstRow()
    {
        $rows = $this->data['rows'];
        if (empty($rows)) {
            return false;
        }

        $row = array_slice($rows, 0, 1);

        return current($row);
    }
992847
def _GetRow(self, columns=None):
        """"""

        row = self._table[self._row_index]
        if columns:
            result = []
            for col in columns:
                if col not in self.header:
                    raise TableError("Column header %s not known in table." % col)
                result.append(row[self.header.index(col)])
            row = result
        return row
272757
@Override
  public IndexedInts getRow()
  {
    final IndexedInts row = selector.getRow();

    if (row.size() == 1) {
      if (nullAdjustment == 0) {
        return row;
      } else {
        nullAdjustedRow.setValue(row.get(0) + nullAdjustment);
        return nullAdjustedRow;
      }
    } else {
      // Can't handle non-singly-valued rows in expressions.
      // Treat them as nulls until we think of something better to do.
      return ZeroIndexedInts.instance();
    }
  }
1252141
def currentRecord( self ):
        
        if self._currentRecord is None and self.isRequired():
            self._currentRecord = self.recordAt(self.currentIndex())
        return self._currentRecord
1154624
def next(self):
        
        if self.rows is None:
            raise ProgrammingError(
                "No result available. " +
                "execute() or executemany() must be called first."
            )
        elif not self._closed:
            return next(self.rows)
        else:
            raise ProgrammingError("Cursor closed")
291488
def get_row_at_index(self, index):
        
        if index is None:
            return None

        url = self.build_url(self._endpoints.get('get_row_index'))
        response = self.session.post(url, data={'index': index})

        if not response:
            return None

        return self.row_constructor(parent=self, **{self._cloud_data_key: response.json()})
946913
def previous_row(self):
        """"""
        row = self.currentIndex().row()
        rows = self.proxy_model.rowCount()
        if row == 0:
            row = rows
        self.selectRow(row - 1)
1111369
public function getCurrentRow()
    {
        if (isset($this->_currentRow) && $this->_currentRow->isFilled()) {
            $this->_currentRow = null;
        }
        if (is_null($this->_currentRow)) {
            $this->_currentRow = Yii::createObject(array_merge(['class' => $this->rowClass], $this->baseRow));
            $this->_rows[] = $this->_currentRow;
        }

        return $this->_currentRow;
    }
396846
def _get_row(self, id):
        """"""
        return {name: d['func'](id) for (name, d) in self._columns.items()}
352517
def _get_next_buffered_row(self):
        
        if self._iter_row == self._iter_nrows:
            raise StopIteration

        if self._row_buffer_index >= self._iter_row_buffer:
            self._buffer_iter_rows(self._iter_row)

        data = self._row_buffer[self._row_buffer_index]
        self._iter_row += 1
        self._row_buffer_index += 1
        return data