Commit a06b1b55233594f7bb95f2459ecbfb3a9cd212fb

Authored by Andrew Kane
1 parent 8050c300

Added section on SQLite [skip ci]

Showing 1 changed file with 16 additions and 0 deletions   Show diff stats
README.md
... ... @@ -13,6 +13,8 @@ The simplest way to group by:
13 13  
14 14 Supports PostgreSQL, MySQL, and Redshift, plus arrays and hashes
15 15  
  16 +Experimental support for [SQLite](#sqlite-experimental)
  17 +
16 18 [![Build Status](https://travis-ci.org/ankane/groupdate.svg?branch=master)](https://travis-ci.org/ankane/groupdate)
17 19  
18 20 :cupid: Goes hand in hand with [Chartkick](http://ankane.github.io/chartkick/)
... ... @@ -242,6 +244,20 @@ SELECT CONVERT_TZ(NOW(), '+00:00', 'Etc/UTC');
242 244  
243 245 It should return the time instead of `NULL`.
244 246  
  247 +## SQLite [experimental]
  248 +
  249 +Groupdate has limited support for SQLite.
  250 +
  251 +- No time zone support
  252 +- No `day_start` or `week_start` options
  253 +- No `group_by_quarter` method
  254 +
  255 +To install, add this line to your application’s Gemfile:
  256 +
  257 +```ruby
  258 +gem 'groupdate', github: 'ankane/groupdate', branch: 'sqlite'
  259 +```
  260 +
245 261 ## Upgrading
246 262  
247 263 ### 3.0
... ...