Browse Source

Better readme

Andrew Kane 9 years ago
parent
commit
29bf5f39ec
1 changed files with 8 additions and 0 deletions
  1. 8 0
      README.md

+ 8 - 0
README.md

@@ -127,12 +127,20 @@ end
 
 ## Queries
 
+### Variables
+
 Create queries with variables
 
 ```sql
 SELECT * FROM users WHERE gender = {gender}
 ```
 
+Use `{start_time}` and `{end_time}` for time ranges.
+
+```sql
+SELECT * FROM users WHERE created_at >= {start_time} AND created_at <= {end_time}
+```
+
 ### Smart Variables
 
 Supposed you have this query