Class: Faststep::Collection

Inherits:
Object
  • Object
show all
Defined in:
lib/faststep/collection.rb,
ext/faststep/collection.c

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeObject

Instance Attribute Details

#nameObject (readonly)

Instance Method Details

#countObject

#create_indexObject

#dropObject

#findObject

#find_oneObject

#index_informationObject



3
4
5
6
7
8
9
# File 'lib/faststep/collection.rb', line 3

def index_information
  info = {}
  @db["system.indexes"].find({:ns => ns}).each do |index|
    info[index['name']] = index
  end
  info
end

#insertObject

#nsObject

#removeObject

#updateObject