{"action":"created","issue":{"url":"https://api.github.com/repos/arangodb/arangodb/issues/1833","repository_url":"https://api.github.com/repos/arangodb/arangodb","labels_url":"https://api.github.com/repos/arangodb/arangodb/issues/1833/labels{/name}","comments_url":"https://api.github.com/repos/arangodb/arangodb/issues/1833/comments","events_url":"https://api.github.com/repos/arangodb/arangodb/issues/1833/events","html_url":"https://github.com/arangodb/arangodb/issues/1833","id":156082061,"number":1833,"title":"accessing collection.properties().isSystem or collection.count() without loading","user":{"login":"kkdd","id":5372642,"avatar_url":"https://avatars.githubusercontent.com/u/5372642?v=3","gravatar_id":"","url":"https://api.github.com/users/kkdd","html_url":"https://github.com/kkdd","followers_url":"https://api.github.com/users/kkdd/followers","following_url":"https://api.github.com/users/kkdd/following{/other_user}","gists_url":"https://api.github.com/users/kkdd/gists{/gist_id}","starred_url":"https://api.github.com/users/kkdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkdd/subscriptions","organizations_url":"https://api.github.com/users/kkdd/orgs","repos_url":"https://api.github.com/users/kkdd/repos","events_url":"https://api.github.com/users/kkdd/events{/privacy}","received_events_url":"https://api.github.com/users/kkdd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-21T03:54:48Z","updated_at":"2016-05-21T17:40:32Z","closed_at":null,"body":"I would like not-loading collections when accessing collection.properties().isSystem or collection.count().\r\nI have tested that the following loads collections and doesn't run fast:\r\n```\r\n$ cat listCollections.js\r\n#!/usr/local/bin/arangosh --javascript.execute\r\nprint(\"\\033[1m\" + db._name(), \"\\033[0m\");\r\ndb._collections().forEach(function(c){if (!c.properties().isSystem) print(c._name,\r\n c.count())})\r\n//db._collections().forEach(function(c){if (c._name[0]!='_') print(c._name)}) // This doesn't load collections.\r\n$\r\n```"},"comment":{"url":"https://api.github.com/repos/arangodb/arangodb/issues/comments/220790974","html_url":"https://github.com/arangodb/arangodb/issues/1833#issuecomment-220790974","issue_url":"https://api.github.com/repos/arangodb/arangodb/issues/1833","id":220790974,"user":{"login":"baslr","id":1494154,"avatar_url":"https://avatars.githubusercontent.com/u/1494154?v=3","gravatar_id":"","url":"https://api.github.com/users/baslr","html_url":"https://github.com/baslr","followers_url":"https://api.github.com/users/baslr/followers","following_url":"https://api.github.com/users/baslr/following{/other_user}","gists_url":"https://api.github.com/users/baslr/gists{/gist_id}","starred_url":"https://api.github.com/users/baslr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baslr/subscriptions","organizations_url":"https://api.github.com/users/baslr/orgs","repos_url":"https://api.github.com/users/baslr/repos","events_url":"https://api.github.com/users/baslr/events{/privacy}","received_events_url":"https://api.github.com/users/baslr/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T17:40:32Z","updated_at":"2016-05-21T17:40:32Z","body":"you can use the http call  `GET /_db/_system/_api/collection`. But this will give you only access to the `isSystem` property."}}
{"actor":{"display_login":"baslr"}}