Sequel ORM 주요 기능과 데이터베이스 조작 방법
데이터베이스 열기
require 'sequel'
db = Sequel.sqlite('my_blog.db')
db = Sequel.connect('postgres://user:password@localhost/my_db')
db = Sequel.postgres('my_db', user: 'user', password: 'password', host: 'localhost')
db = Sequel.ado('mydb')
SQLite 메모리 데이터베이스 열기
파일명 인자를 생략하면 SQLite 어댑터가 메모리 내에 새 SQLite 데이터베 ...
10월 25일 21:02에 게시됨