Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-05-20 12:16:36 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
159fe48ee1fd5f2ddcaed4b2442f0ffa666f5db2
159fe48e
1 parent
7eebc8bb
create getRooms resolver and typedefs
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
back/src/api/Room/getRooms/getRooms.graphql
back/src/api/Room/getRooms/getRooms.js
back/src/api/Room/getRooms/getRooms.graphql
0 → 100644
View file @
159fe48
type Query {
getRooms: [Room]
}
back/src/api/Room/getRooms/getRooms.js
0 → 100644
View file @
159fe48
import
{
prisma
}
from
"../../../utils"
;
export
default
{
Query
:
{
getRooms
:
async
()
=>
{
return
prisma
.
room
.
findMany
();
},
},
};
Please
register
or
login
to post a comment