Tag: knex.js
-
Knex query with .where() returns null in GraphQL
0 I’m trying to build a simple api with knex and apollo server, which is running, but the querys with where retuns null the server import { ApolloServer } from ‘apollo-server’ import knex from ‘./knex’ import { resolvers, typeDefs } from ‘./schema’ import { UserSQLDataSource } from ‘./schema/users/datasource’ const server = new ApolloServer({ typeDefs, resolvers,…