Create an entity
Last updated
Last updated
Commnad : graph entity {n:"entityName",d:""}
@ : index
! : not null
n: the name of entity
d: the struct of entity
Type | DESC |
---|---|
Exmaple :
graph entity {"n":"user","d":"type user { id: ID!@ name: String! age: int photo: String!}"}
int
numeric(300)
bigint
numeric(300)
address
varchar(64)
string
varchar(255)
text
text
decimal
numeric(500)
timestamp
numeric(50)