Skip to content

Commit c8f4575

Browse files
committed
Update README.md
1 parent c451e29 commit c8f4575

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,13 @@ Import the `template` tag function from `/app/template.js` in your `export.js` a
5050
An example `export.js` file may look as follows:
5151

5252
```javascript
53+
import template from '/app/template.js';
54+
5355
export default [
5456
{
5557
path: '/example',
5658
format: 'text/csv',
57-
query: `SELECT * FROM <http://mu.semte.ch/application> WHERE { ?s a ${'class'} } LIMIT 100`,
59+
query: template`SELECT * FROM <http://mu.semte.ch/application> WHERE { ?s a ${'class'} } LIMIT 100`,
5860
file: 'export-example.csv'
5961
},
6062
...

0 commit comments

Comments
 (0)