GraphQL(七)JAP&MySQL統合CURDを実現
2080 ワード
先にGraphQLに関する基礎知識を学びました.例えば、SDLやJavaタイプを使用して簡単なクエリーを実現するなどです.
関連コード
データベースDDLの作成
関連コード
https://github.com/tangyaya8/graphql-curd
関連コード
データベースDDLの作成
create table author
(
id bigint auto_increment comment ' '
primary key,
created_time timestamp default CURRENT_TIMESTAMP not null comment ' ',
updated_time timestamp default CURRENT_TIMESTAMP not null comment ' ',
first_name varchar(50) null comment 'firstName',
last_name varchar(50) null comment 'lastName'
);
関連コード
https://github.com/tangyaya8/graphql-curd