Skip to content

Commit

Permalink
now -> now() in README example
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
otoolep committed Sep 18, 2015
1 parent f9bfb2f commit a52cf6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -56,7 +56,7 @@ curl -XPOST 'http://localhost:8086/write?db=mydb' \
### Query for the data
```JSON
curl -G http://localhost:8086/query?pretty=true --data-urlencode "db=mydb" \
--data-urlencode "q=SELECT * FROM cpu WHERE host='server01' AND time < now - 1d"
--data-urlencode "q=SELECT * FROM cpu WHERE host='server01' AND time < now() - 1d"
```

### Analyze the data
Expand Down

0 comments on commit a52cf6b

Please sign in to comment.