Skip to content

Commit

Permalink
Adding snippets for Datastore queries
Browse files Browse the repository at this point in the history
Snippets on:
https://cloud.google.com/datastore/docs/concepts/queries

Also renames for consistensy with other languages.
  • Loading branch information
Takashi Matsuo committed Oct 11, 2016
1 parent 1b1752a commit 0eddc3e
Show file tree
Hide file tree
Showing 6 changed files with 1,269 additions and 110 deletions.
1 change: 1 addition & 0 deletions datastore/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ To run the tests do the following:
1. **Install dependencies** via [Composer](http://getcomposer.org/doc/00-intro.md).
Run `php composer.phar install` (if composer is installed locally) or `composer install`
(if composer is installed globally).
1. Create Datastore indexes by running `gcloud preview datastore create-indexes index.yaml`
1. Run `phpunit`
3 changes: 2 additions & 1 deletion datastore/api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"google/cloud": "dev-master"
},
"require-dev": {
"phpunit/phpunit": "~4.8"
"phpunit/phpunit": "~4.8",
"google/cloud-tools": "<2.0"
},
"autoload": {
"psr-4": { "Google\\Cloud\\Samples\\Datastore\\": "src" },
Expand Down
Loading

0 comments on commit 0eddc3e

Please sign in to comment.