Skip to content

Instantly share code, notes, and snippets.

@lorensr
Created April 2, 2020 09:24
Show Gist options
  • Select an option

  • Save lorensr/8dc9223e35d932be0be2d48c5b6c1474 to your computer and use it in GitHub Desktop.

Select an option

Save lorensr/8dc9223e35d932be0be2d48c5b6c1474 to your computer and use it in GitHub Desktop.

Revisions

  1. lorensr created this gist Apr 2, 2020.
    3 changes: 3 additions & 0 deletions FooDataSource-cacheKey.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    cacheKey(id) {
    return `foo-${this.db.connectionURI}-${id}`
    }