grapher/lib/namedQuery/cache/generateQueryId.js

5 lines
138 B
JavaScript
Raw Normal View History

2017-11-26 19:15:00 +02:00
import {EJSON} from 'meteor/ejson';
export default function(queryName, params) {
return `${queryName}::${EJSON.stringify(params)}`;
}