@@ -47,7 +47,7 @@ function Entity(projectId) {
47
47
if ( keyFile ) {
48
48
options . keyFilename = keyFile ;
49
49
}
50
- this . datastore = gcloud . datastore . dataset ( options ) ;
50
+ this . datastore = gcloud . datastore ( options ) ;
51
51
52
52
// To create the keys, we have to use this instance of Datastore.
53
53
datastore . key = this . datastore . key ;
@@ -444,7 +444,7 @@ function Index(projectId) {
444
444
if ( keyFile ) {
445
445
options . keyFilename = keyFile ;
446
446
}
447
- this . datastore = gcloud . datastore . dataset ( options ) ;
447
+ this . datastore = gcloud . datastore ( options ) ;
448
448
}
449
449
450
450
Index . prototype . testUnindexedPropertyQuery = function ( callback ) {
@@ -494,7 +494,7 @@ function Metadata(projectId) {
494
494
if ( keyFile ) {
495
495
options . keyFilename = keyFile ;
496
496
}
497
- this . datastore = gcloud . datastore . dataset ( options ) ;
497
+ this . datastore = gcloud . datastore ( options ) ;
498
498
}
499
499
500
500
Metadata . prototype . testNamespaceRunQuery = function ( callback ) {
@@ -632,7 +632,7 @@ function Query(projectId) {
632
632
if ( keyFile ) {
633
633
options . keyFilename = keyFile ;
634
634
}
635
- this . datastore = gcloud . datastore . dataset ( options ) ;
635
+ this . datastore = gcloud . datastore ( options ) ;
636
636
637
637
this . basicQuery = this . getBasicQuery ( ) ;
638
638
this . projectionQuery = this . getProjectionQuery ( ) ;
@@ -1066,7 +1066,7 @@ function Transaction(projectId) {
1066
1066
if ( keyFile ) {
1067
1067
options . keyFilename = keyFile ;
1068
1068
}
1069
- this . datastore = gcloud . datastore . dataset ( options ) ;
1069
+ this . datastore = gcloud . datastore ( options ) ;
1070
1070
1071
1071
this . fromKey = this . datastore . key ( [ 'Bank' , 1 , 'Account' , 1 ] ) ;
1072
1072
this . toKey = this . datastore . key ( [ 'Bank' , 1 , 'Account' , 2 ] ) ;
0 commit comments