Navigation Menu

Skip to content

Commit

Permalink
Use wrapped version database
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 3, 2012
1 parent d4d1e52 commit 8f15f96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/database/domain.js
Expand Up @@ -326,6 +326,8 @@ Domain.toDonamName = function(tableNamePart) {
};

Domain.getAll = function(context) {
context = context && new nroonga.Context(context);

var tables = context.tableListSync();
var tableMatcher = new RegExp('^' + DOMAIN_TABLE_PREFIX + '_([^_]+)_([^_]+)$');
var domains = [];
Expand Down

0 comments on commit 8f15f96

Please sign in to comment.