graphene
#
Installation#
API#
fromGlobalIdGet the raw database ID from a global id.
#
toGlobalIdEncode a model name and database id to a global id.
#
parseGlobalIdParse both the model name and the database id from the global id.
#
bumpGlobalIdIncrement the global id. Requires the parsed ID to be an integer.
#
bumpOrInitCursorIncrement a cursor or initialize to arrayconnection:1
(YXJyYXljb25uZWN0aW9uOjE=
).
#
mapNodesReturn an array of nodes from a relay-style connection.
Optionally takes in a transform callback which will operate on each node,
#
useMapNodesLike mapNodes but returns a stable array (assuming connection and callback are stable).