File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,7 @@ WOQLQuery.prototype.using = function(Collection, Subq) {
38
38
if ( ! Collection || typeof Collection != 'string' ) {
39
39
return this . parameterError ( 'The first parameter to using must be a Collection ID (string)' )
40
40
}
41
- this . cursor [ 'collection' ] = this . jlt ( Collection )
42
- //this.cursor['@context'] = '/api/prefixes/' + Collection
41
+ this . cursor [ 'collection' ] = Collection
43
42
return this . addSubQuery ( Subq )
44
43
}
45
44
Original file line number Diff line number Diff line change @@ -37,10 +37,7 @@ module.exports={
37
37
} ,
38
38
usingJson :{
39
39
"@type" : "Using" ,
40
- "collection" : {
41
- "@type" : "xsd:string" ,
42
- "@value" : "userName/dbName/local/commit/commitID"
43
- } ,
40
+ "collection" : "userName/dbName/local/commit/commitID" ,
44
41
"query" : {
45
42
"@type" : "Triple" ,
46
43
"subject" : {
@@ -62,10 +59,7 @@ module.exports={
62
59
"and" : [
63
60
{
64
61
"@type" : "Using" ,
65
- "collection" : {
66
- "@type" : "xsd:string" ,
67
- "@value" : "admin/dbName/local/commit/commitID_1"
68
- } ,
62
+ "collection" : "admin/dbName/local/commit/commitID_1" ,
69
63
"query" : {
70
64
"@type" : "Triple" ,
71
65
"subject" : {
@@ -84,10 +78,7 @@ module.exports={
84
78
} ,
85
79
{
86
80
"@type" : "Using" ,
87
- "collection" : {
88
- "@type" : "xsd:string" ,
89
- "@value" : "admin/dbName/local/commit/commitID_2"
90
- } ,
81
+ "collection" : "admin/dbName/local/commit/commitID_2" ,
91
82
"query" : {
92
83
"@type" : "Not" ,
93
84
"query" : {
You can’t perform that action at this time.
0 commit comments