Added designers
This commit is contained in:
@@ -9,6 +9,10 @@ export class BaseSQLDataSource extends SQLDataSource {
|
||||
this.cache = config.cache || new InMemoryLRUCache();
|
||||
}
|
||||
|
||||
getSQLDate(date: Date): string {
|
||||
return date.toISOString().split('T')[0];
|
||||
}
|
||||
|
||||
async cacheQuery(ttl = 5, query) {
|
||||
const cacheKey = crypto
|
||||
.createHash('sha1')
|
||||
|
||||
Reference in New Issue
Block a user