Querydeck Docs
  • 👋Welcome to Query Deck
  • Getting Started
    • 😃Get Started With QueryDeck
      • Quickstart With QueryDeck
    • How It Works?
  • REST
    • Select Method
      • Joins
      • Sorting
        • Ascending/ Descending ordering
        • Dynamic Sorting
      • Filter
        • Dynamic Filtering
        • Groups
        • Exists clause
      • Pagination
        • Offset
        • Limit
    • Insert/Upsert Method
      • Nested Inserts (Joins)
      • Conflicting Columns
    • Update Method
      • Filters
    • Delete Method
    • Authentication
    • Authorization
    • Select by Id
  • GraphQL
    • Introduction to GraphQL in QueryDeck
    • Enabling GraphQL for Columns in QueryDeck
  • Testing Endpoints
Powered by GitBook
On this page
  • Steps to Enable GraphQL for Columns in QueryDeck
  • Security Considerations
  1. GraphQL

Enabling GraphQL for Columns in QueryDeck

PreviousIntroduction to GraphQL in QueryDeckNextTesting Endpoints

Last updated 3 months ago

QueryDeck allows you to control which database columns are exposed via GraphQL, ensuring that only necessary data is available through API queries. This enhances security, improves performance, and keeps your API responses clean.


Steps to Enable GraphQL for Columns in QueryDeck

  1. Navigate to the GraphQL Section

    • Open the QueryDeck app you want to edit

  • Go to the GraphQL tab.

  • Select the table for which you want to enable GraphQL access by clicking on the "+" button

Select the Columns to Expose

  • Click on the Columns dropdown for the selected table.

  • A popup will appear listing all the columns in the table, select ur desired columns.

After selecting the required columns, click Save to apply the changes.


Security Considerations

  • Restrict Access to Sensitive Columns: Disable GraphQL access for fields like passwords, payment details, or internal metadata.

  • Role-Based Access: Use QueryDeck’s authentication and authorization settings to control column visibility based on user roles.