Skip to content

issues Search Results · repo:cvburgess/SQLDataSource language:JavaScript

Filter by

44 results
 (99 ms)

44 results

incvburgess/SQLDataSource (press backspace or delete to remove)

I believe this is related to knex issue 3553, but wanted to surface it here because of a potential security issue that could result. For PG, query.toString() will omit bigint values, yet the actual query ...
  • willrust
  • 1
  • Opened 
    on Dec 16, 2022
  • #86

This is more of a question.. Will you start supporting Apollo version 4 and above. I have started a migration on our server where we use this lib allot. It says here that you are using the deprecated ...
  • arwidt
  • 1
  • Opened 
    on Nov 10, 2022
  • #85

First of thanks for this nice data source. The reason why I m writing is your given example in the usage section. You re creating the MyDatabase instance outside of the context creation, thus, it will ...
  • marvin-kolja
  • 2
  • Opened 
    on Sep 6, 2022
  • #83

Does anyone know what can cause this? src/datasources/order-api.ts(17,8): error TS2551: Property cache does not exist on type QueryBuilder {}, DeferredKeySelection {}, string, false, {}, false, {}, ...
  • fondberg
  • 7
  • Opened 
    on May 20, 2022
  • #82

When initing a new SQLDataSource in the datasources function with an existing knex connection it throws the following error: Can t extend QueryBuilder with existing method ( cache ) Option 1: This does ...
  • onasman
  • 7
  • Opened 
    on May 5, 2022
  • #81

Is there a way to dynamically set/reset custom Postgres run-time configuration parameters? I have tried to set a custom parameter using the pool afterCreate event, in the api definition, with: getData(value) ...
  • UserRand42
  • 2
  • Opened 
    on Apr 13, 2022
  • #79

Example: https://codesandbox.io/s/strange-austin-2ccpm?file=/src/index.ts I think this happen after knex moved in peerDependencies - my project start using latest version of knex (0.95.x), but before ...
help wanted
  • Luchanso
  • 13
  • Opened 
    on Nov 8, 2021
  • #71

In the Readme it says The knex instance is made available as this.knex or this.db.. The typescript type doesn t have the db variable available.
  • kassiel2
  • 2
  • Opened 
    on Jun 28, 2021
  • #68

Hi there. Thanks for the great library :) In the docs, you show this example: `// index.js const MyDatabase = require( ./MyDatabase ); const knexConfig = { client: pg , connection: { /* CONNECTION INFO ...
  • xavier-taylor
  • 3
  • Opened 
    on Jun 25, 2021
  • #67

When I provide the .cache attribute to knex query I receive this error (node:10584) UnhandledPromiseRejectionWarning: TypeError: Cannot read property get of undefined at MyDatabase.cacheQuery (F:\Code\menext\node_modules\datasource-sql\index.js:50:23) ...
  • Bilal-S
  • 1
  • Opened 
    on Apr 22, 2021
  • #66
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub