Como descobrir a versão do sqlite em Ruby
2011-02-02 15:56:38
2011-02-02 15:53:44
Autor:
Sony Santos
(sony)
https://gigawiki.com/sony/como-descobrir-a-versao-do-sqlite-em-ruby
Permalink:
https://gigawiki.com/945
assunto = sql, sqlite; categ = dicas, list; linguagem = ruby
require 'rubygems'
require 'sequel'
DB = Sequel.sqlite
puts DB.fetch("select sqlite_version() as v").first[:v]
Please enable JavaScript to view the
comments powered by Disqus.
blog comments powered by
Disqus