GraphQL Manual Docs
Developer Guides
Getting Started
  • Getting Started
  • Neo4j Graph Platform
  • Cypher Query Language
  • Graph Data Modeling
  • Data Import
Graph Data Science
  • NLP
  • Neuler
  • Graph Embeddings
Developer Resources
  • Graph Visualization
  • Drivers & Language Guides
  • Neo4j Tools & Integrations
Administration and Deployment
  • Graph Apps
  • Neo4j Administration
  • Neo4j in the Cloud
GraphAcademy
  • Self Paced Training
  • Certification
GraphGists
Docs
Neo4j DBMS
  • Getting Started
  • Operations
  • Migration and Upgrade
  • Status Codes
  • Java Developer Reference
  • Kerberos Add-on
Neo4j Aura
  • Neo4j AuraDB
  • Neo4j AuraDS
Neo4j Developer Tools
  • Neo4j Bloom
  • Neo4j Browser
  • Neo4j Desktop
Neo4j Graph Data Science
  • Neo4j Graph Data Science Library
Cypher Query Language
  • Cypher
  • Cypher Refcard
Neo4j Drivers and APIs
  • Go Driver
  • Java Driver
  • JavaScript Driver
  • .Net Driver
  • Python Driver
  • Neo4j GraphQL Library
  • HTTP API
  • OGM Library
  • Spring Data Neo4j
  • Neo4j Connector for Apache Spark
Labs
arrows.app
  • Details
  • arrows.app
APOC
  • Documentation
  • Developer Guide
GraphQL & GRANDStack
  • Details
  • GRANDstack.io
Halin
Kafka Integration
  • Details
  • Documentation
ETL Tool
  • Details
  • Documentation
Neo4j Plugin For Liquibase
  • Details
  • Documentation
Neosemantics
  • Getting Started
  • Documentation
Neo4j Helm
  • Details
  • Documentation
Get Help
Community Forum
Discord Chat
Knowledge Base
Neo4j Developer Blog
Neo4j Videos
Get Started
Neo4j AuraDB Start Free
Start your fully managed Neo4j cloud database
Neo4j Sandbox
Learn and use Neo4j for data science & more
Neo4j Desktop
Manage multiple local or remote Neo4j projects
Search
Neo4j GraphQL Library
    • Neo4j GraphQL Library
      • Introduction
      • Getting Started
      • Type Definitions
        • Basics
        • Types
        • Union Types
        • Interface Types
        • Custom Directives
        • Relationships
        • Access Control
        • Autogeneration
        • @cypher directive
        • Default Values
        • Database Mapping
        • Indexes and Constraints
      • Queries
      • Mutations
        • Create
        • Update
        • Delete
      • Subscriptions (Beta)
        • Getting Started
        • Events
          • Create
          • Update
          • Delete
        • Horizontal Scaling
        • Plugins
          • Single Instance
          • AMQP
      • Filtering
      • Sorting
      • Pagination
        • Offset-based pagination
        • Cursor-based pagination
      • Custom Resolvers
      • Auth
        • Setup
        • @auth directive
        • Authentication
        • Authorization
          • Allow
          • Bind
          • Roles
          • Where
        • Subscriptions
      • Directives
      • API Reference
        • Neo4jGraphQL
        • @neo4j/graphql-ogm
      • OGM
        • Installation
        • Examples
          • Custom Resolvers
          • REST API
        • @private Directive
        • Selection Set
        • Type Generation
        • API Reference
          • OGM
          • generate
          • Model
            • create
            • find
            • update
            • delete
            • aggregate
      • Introspector
      • Driver Configuration
      • Guides
        • Usage with Next.js
        • Migration Guide
          • Server
          • Type Definitions
          • Queries
          • Mutations
        • 2.0.0 Migration
          • Mutations
          • Unions
          • Miscellaneous
        • 3.0.0 Migration
      • Troubleshooting
        • FAQs
        • Security
      • Appendix
        • Preventing overfetching
  • Neo4j GraphQL Library
  • OGM
  • API Reference
  • Model
Edit this Page

Model

create

See create.

find

See find.

update

See update.

delete

See delete.

aggregate

See aggregate.

generate create

Was this page helpful?

© 2022 Neo4j, Inc.
Terms | Privacy | Sitemap

Neo4j®, Neo Technology®, Cypher®, Neo4j® Bloom™ and Neo4j® Aura™ are registered trademarks of Neo4j, Inc. All other marks are owned by their respective companies.

Contact Us →

US: 1-855-636-4532
Sweden +46 171 480 113
UK: +44 20 3868 3223
France: +33 (0) 8 05 08 03 44

Learn

  • Sandbox
  • Neo4j Community Site
  • Neo4j Developer Blog
  • Neo4j Videos
  • GraphAcademy
  • Neo4j Labs

Social

  • Twitter
  • Meetups
  • Github
  • Stack Overflow
  • Want to Speak? Get $ back.