Skip to content

Business intelligence made simple

Updated readme

Andrew Kane16504c22b426
diff --git a/README.md b/README.md
index 43666922..da4d45d7 100644
--- a/README.md
+++ b/README.md
@@ -228,6 +228,13 @@ smart_columns:
city_id: "SELECT id, name FROM cities WHERE id IN {value}"
```
+You can also use a hash for static data and enums. [master]
+
+```yml
+smart_columns:
+ status: {0: "Active", 1: "Archived"}
+```
+
### Caching
Blazer can automatically cache results to improve speed. It can cache slow queries: