   constructor: (name='seeds') ->
     @initDb(name)
   initDb: (name) ->
-    podsSchema = 
+    podsSchema =
       name: 'pod'
       keyPath: 'name'
       type: 'TEXT'

  countPods: () ->
    @db.count('pod')
  updatePods: (pods) ->
    #@db.put('pod', pods)
  findCategories: () ->
    iterator = new ydn.db.ValueIterator("category")
    @db.values iterator, 1000

    keyRange = ydn.db.KeyRange.only(name)
    @db.values 'category', keyRange
  updateCategories: (categories) ->
    @db.clear('category')
    @db.put('category', categories)
