<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License.  You may obtain a copy of the License at
  ~
  ~   http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied.  See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
-->

---
description: Manage mutations on your database with Hasura
title: Mutations Overview
sidebar_label: Overview
keywords:
  - hasura
  - docs
  - mutation
hide_table_of_contents: true
sidebar_position: 1
---

import Thumbnail from '@site/src/components/Thumbnail';
import VersionedLink from '@site/src/components/VersionedLink';
import Mutations from '@site/static/icons/features/mutations.svg';

# <Mutations /> Mutations

<div className="overview-header">
  <div className="overview-text">
    <p>
      The Hasura GraphQL Engine automatically generates GraphQL mutation fields for inserting, updating, or deleting
      data based on your database's schema. For any tracked table, a set of mutations are generated and exposed as part
      of the GraphQL API.
    </p>
    <p>
      Just as with queries, as soon you paste in your connection string and track your tables, you're ready to start
      writing mutations!
    </p>
    <h4>Quick Links</h4>
    <ul>
      <li>
        <VersionedLink to="/mutations/quickstart">Write your first mutation in 30 seconds.</VersionedLink>
      </li>
    </ul>
  </div>
  <iframe
    src="https://www.youtube.com/embed/9FZkMjiBrMs"
    frameBorder="0"
    allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
    allowFullScreen
  />
</div>

## Using Mutations

<div className="overview-gallery">
  <VersionedLink to="/mutations/postgres/insert/">
    <div className="card">
      <h3>Insert data</h3>
      <p>Learn how to insert new data into your database using a mutation.</p>
    </div>
  </VersionedLink>
  <VersionedLink to="/mutations/postgres/multiple-mutations/">
    <div className="card">
      <h3>Execute multiple mutations</h3>
      <p>Learn how to execute multiple mutations in a single request using a single GraphQL request.</p>
    </div>
  </VersionedLink>
  <VersionedLink to="/mutations/postgres/update/">
    <div className="card">
      <h3>Update data</h3>
      <p>
        Learn how to update data in your database using a mutation, which enables you to update data in a single row or
        multiple rows with one mutation.
      </p>
    </div>
  </VersionedLink>
</div>
