Sha256: 018061249c70e0a2d5ff503aaae53edc315f2291e740f41711f64de40b9847ed

Contents?: true

Size: 653 Bytes

Versions: 1

Compression:

Stored size: 653 Bytes

Contents

# SQLite3 ActiveRecord REGEXP

[![Version](https://img.shields.io/gem/v/sqlite3_ar_regexp.svg?style=flat-square)](https://rubygems.org/gems/sqlite3_ar_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', '~> 3.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.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sqlite3_ar_regexp-3.0.0 README.md