Method: Cloudant::Client#db_info

Defined in:
lib/cloudant/client.rb

#db_infoObject Also known as: info

Returns info about the database, including update_seq, db_name etc.



108
109
110
# File 'lib/cloudant/client.rb', line 108

def db_info
  @conn.query({url_path: "#{database}", method: :get})
end