All Projects → sparklemotion → Sqlite3 Ruby

sparklemotion / Sqlite3 Ruby

Licence: other
Ruby bindings for the SQLite3 embedded database

Programming Languages

ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to Sqlite3 Ruby

Pointblank
Data validation and organization of metadata for data frames and database tables
Stars: ✭ 480 (-18.92%)
Mutual labels:  sqlite
Nimforum
Lightweight alternative to Discourse written in Nim
Stars: ✭ 523 (-11.66%)
Mutual labels:  sqlite
Go Sqlbuilder
A flexible and powerful SQL string builder library plus a zero-config ORM.
Stars: ✭ 539 (-8.95%)
Mutual labels:  sqlite
Rbatis
Rust ORM Framework High Performance Rust SQL-ORM(JSON based)
Stars: ✭ 482 (-18.58%)
Mutual labels:  sqlite
Adminer
Database management in a single PHP file
Stars: ✭ 4,999 (+744.43%)
Mutual labels:  sqlite
Sqlitecodefirst
Creates a SQLite Database based on a EdmModel by using Entity Framework CodeFirst.
Stars: ✭ 526 (-11.15%)
Mutual labels:  sqlite
Django Dbbackup
Management commands to help backup and restore your project database and media files
Stars: ✭ 471 (-20.44%)
Mutual labels:  sqlite
Jvedio
Windows desktop application to manage local video;Support baidu AI, youdao translation;Support FFMPEG video processing;Support multi-database management and statistics;Support skin switching
Stars: ✭ 545 (-7.94%)
Mutual labels:  sqlite
Go Sqlite3
sqlite3 driver for go using database/sql
Stars: ✭ 5,313 (+797.47%)
Mutual labels:  sqlite
Sqlitedb
Basic SQLite wrapper for Swift 4.x and lightweight ORM for accessing underlying tables in an SQLite database
Stars: ✭ 538 (-9.12%)
Mutual labels:  sqlite
Phpmyfaq
phpMyFAQ - Open Source FAQ web application for PHP and MySQL, PostgreSQL and other databases
Stars: ✭ 494 (-16.55%)
Mutual labels:  sqlite
Postfixadmin
PostfixAdmin - web based virtual user administration interface for Postfix mail servers
Stars: ✭ 509 (-14.02%)
Mutual labels:  sqlite
Zblogphp
Z-BlogPHP博客程序
Stars: ✭ 527 (-10.98%)
Mutual labels:  sqlite
Maghead
The fastest pure PHP database framework with a powerful static code generator, supports horizontal scale up, designed for PHP7
Stars: ✭ 483 (-18.41%)
Mutual labels:  sqlite
Floor
The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications
Stars: ✭ 543 (-8.28%)
Mutual labels:  sqlite
Evolve
Database migration tool for .NET and .NET Core projects. Inspired by Flyway.
Stars: ✭ 477 (-19.43%)
Mutual labels:  sqlite
Tuql
Automatically create a GraphQL server from a SQLite database or a SQL file
Stars: ✭ 526 (-11.15%)
Mutual labels:  sqlite
Csvs To Sqlite
Convert CSV files into a SQLite database
Stars: ✭ 568 (-4.05%)
Mutual labels:  sqlite
Typeorm
ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
Stars: ✭ 26,559 (+4386.32%)
Mutual labels:  sqlite
Datasette
An open source multi-tool for exploring and publishing data
Stars: ✭ 5,640 (+852.7%)
Mutual labels:  sqlite

= SQLite3/Ruby Interface

{Build Status}[https://travis-ci.org/sparklemotion/sqlite3-ruby]

== DESCRIPTION

This module allows Ruby programs to interface with the SQLite3 database engine (http://www.sqlite.org). You must have the SQLite engine installed in order to build this module.

Note that this module is only compatible with SQLite 3.6.16 or newer.

== SYNOPSIS

require "sqlite3"

Open a database

db = SQLite3::Database.new "test.db"

Create a table

rows = db.execute <<-SQL create table numbers ( name varchar(30), val int ); SQL

Execute a few inserts

{ "one" => 1, "two" => 2, }.each do |pair| db.execute "insert into numbers values ( ?, ? )", pair end

Find a few rows

db.execute( "select * from numbers" ) do |row| p row end

Create another table with multiple columns

db.execute <<-SQL create table students ( name varchar(50), email varchar(50), grade varchar(5), blog varchar(50) ); SQL

Execute inserts with parameter markers

db.execute("INSERT INTO students (name, email, grade, blog) VALUES (?, ?, ?, ?)", ["Jane", "[email protected]", "A", "http://blog.janedoe.com"])

db.execute( "select * from students" ) do |row| p row end

== Compilation and Installation

Install SQLite3, enabling the option SQLITE_ENABLE_COLUMN_METADATA (see www.sqlite.org/compile.html for details).

Then do the following:

ruby setup.rb config ruby setup.rb setup ruby setup.rb install

Alternatively, you can download and install the RubyGem package for SQLite3/Ruby (you must have RubyGems and SQLite3 installed, first):

gem install sqlite3

If you have sqlite3 installed in a non-standard location, you can specify the location of the include and lib files by doing:

gem install sqlite3 -- --with-sqlite3-include=/opt/local/include
--with-sqlite3-lib=/opt/local/lib

= SUPPORT!!!

== OMG! Something has gone wrong! Where do I get help?

The best place to get help is from the {sqlite3-ruby mailing list}[http://groups.google.com/group/sqlite3-ruby] which can be found here:

== I've found a bug! Where do I file it?

Uh oh. After contacting the mailing list, you've found that you've actually discovered a bug. You can file the bug at the {github issues page}[https://github.com/sparklemotion/sqlite3-ruby/issues] which can be found here:

== Usage

For help figuring out the SQLite3/Ruby interface, check out the SYNOPSIS as well as the RDoc. It includes examples of usage. If you have any questions that you feel should be addressed in the FAQ, please send them to {the mailing list}[http://groups.google.com/group/sqlite3-ruby]

== Source Code

The source repository is accessible via git:

git clone git://github.com/sparklemotion/sqlite3-ruby.git

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].