Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 517 Bytes

definition.md

File metadata and controls

32 lines (24 loc) · 517 Bytes

Definition of TABLE

Types

type field represents data store type string such as sql, graphql.

tables:
- name: User
  metadata:
    root: true
  definition:
    type: sql
    url: 'postgres://localhost:5432'
    query: 'users'

Detailed types

Detailed types must be declared in a string concatenated with "-" as for api version 1.

  definition:
    type: graphql-opencrud

More detailed,

  definition:
    type: graphql-opencrud-v1