enable JSON functions in SQLite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To enable JSON functions in SQLite run in irb | |
require 'sqlite3' | |
c = SQLite3::Database.new('database') | |
c.enable_load_extension(1) | |
c.load_extension('/usr/local/Cellar/sqlite/3.14.2/lib/libsqlitefunctions.dylib') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To install SQLIte with JSON extension on OS X run | |
brew install --with-functions --with-json1 sqlite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment