Skip to content

Commit 1eade78

Browse files
Merge pull request #156 from terminusdb/fix-lint
fix getPrefix doc
2 parents 4a0078b + 2386397 commit 1eade78

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lib/woqlClient.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,11 +1355,16 @@ WOQLClient.prototype.getBranches = function (dbId) {
13551355
};
13561356

13571357
/**
1358-
* get the database collections list
1358+
* get the database prefixes object
13591359
* @param {string} [dbId] - the database id
13601360
* @returns {Promise} A promise that returns the call response object, or an Error if rejected.
13611361
* @example
1362-
* client.getBranches()
1362+
* client.getPrefixes()
1363+
* //return object example
1364+
* {
1365+
* '@base': 'terminusdb:///data/',
1366+
* '@schema': 'terminusdb:///schema#',
1367+
* '@type': 'Context'}
13631368
*/
13641369
WOQLClient.prototype.getPrefixes = function (dbId) {
13651370
if (dbId) this.db(dbId);

0 commit comments

Comments
 (0)