Skip to content

Instantly share code, notes, and snippets.

@thomaslang
Created September 10, 2009 12:01
Show Gist options
  • Save thomaslang/184505 to your computer and use it in GitHub Desktop.
Save thomaslang/184505 to your computer and use it in GitHub Desktop.
// in main.js :
var store = BB.get('store');
//var source = store._getDataSource();
//var libraries = source.fetch(store, 'BB.Library');
//var descriptions = source.fetch(store, 'BB.Description');
store.findAll('BB.Library');
store.findAll('BB.Description');
var users = store.findAll('BB.User');
var concepts = store.findAll('BB.Concept');
// couchdb.log :
[Thu, 10 Sep 2009 12:10:03 GMT] [info] [<0.7819.4>] ::1 - - 'GET' /bb-data/_design/bb-admin/_view/libraries 200
[Thu, 10 Sep 2009 12:10:03 GMT] [info] [<0.8752.4>] ::1 - - 'GET' /bb-data/_design/bb-admin/_view/descriptions 200
[Thu, 10 Sep 2009 12:10:04 GMT] [info] [<0.8754.4>] ::1 - - 'GET' /bb-data/_design/bb-admin/_view/concepts 200
[Thu, 10 Sep 2009 12:10:05 GMT] [info] [<0.7819.4>] ::1 - - 'GET' /bb-data/_design/bb-admin/_view/concepts 200
[Thu, 10 Sep 2009 12:10:05 GMT] [info] [<0.8754.4>] ::1 - - 'GET' /_uuids?count=100 200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment