Method: GraphQL::Pagination::Connection#start_cursor
- Defined in:
- lib/graphql/pagination/connection.rb
#start_cursor ⇒ String
Returns The cursor of the first item in #nodes.
206 207 208 |
# File 'lib/graphql/pagination/connection.rb', line 206 def start_cursor nodes.first && cursor_for(nodes.first) end |