Skip to main content

Poll

Poll(id, question_text, created, modified, creator, is_edited, is_closed, is_deleted, status, is_public)

type Poll {
id: UUID!
questionText: String!
modified: DateTime!
choices: [Choice!]!
created: DateTime!
creator: User!
isPublic: Boolean!
}

Fields

Poll.id ● UUID! non-null scalar

Poll.questionText ● String! non-null scalar

Poll.modified ● DateTime! non-null scalar

Poll.choices ● [Choice!]! non-null object

Poll.created ● DateTime! non-null scalar

Poll.creator ● User! non-null object

Poll.isPublic ● Boolean! non-null scalar

Returned by

createPoll mutation ● pollById query

Member of

Insight object