Sha256: 60fb4e6730b7c928a211f7bf7a6abe5745b0b7ab1b1d81be0857e01f798dd1b3
Contents?: true
Size: 606 Bytes
Versions: 1
Compression:
Stored size: 606 Bytes
Contents
# SQLite3 ActiveRecord REGEXP This adds REGEXP support to SQLite3 in ActiveRecord. This project uses [Semantic Versioning](http://semver.org). ## Installation Add this line to your application's Gemfile: gem 'sqlite3_ar_regexp', '~> 2.0' And then execute: $ bundle Or install it yourself as: $ gem install sqlite3_ar_regexp ## Usage # find all accounts where the first name starts with "a" Account.where('first_name REGEXP "^a"') ## Credits The original code for this was done by Joe Yates and can be found at http://titusd.co.uk/2010/01/31/regular-expressions-in-sqlite/.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sqlite3_ar_regexp-2.0.0 | README.md |