Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering Google App Engine

You're reading from   Mastering Google App Engine Build robust and highly scalable web applications with Google App Engine

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781784396671
Length 368 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Summary


We started out discussion by asking some questions in the form of queries about the data stored in datastore. Some of the questions were answered and for some, we met with exceptions. Next, we embarked on the journey of how queries actually work under the hood. We learned that all queries are actually just translated into the BigTable row scans and for this, separate BigTable tables are maintained, which are updated whenever you write any new entities or modify or delete any existing ones. We learned the role of indexes and how they are not an optional thing but a required component unlike indexes in the RDBMS world.

Armed with this understanding, we went on to explore the Query API. We learned that all the magic happens around the ndb.Query object with its filter() method. We learned how to query for repeated and structured properties. We next focused on how to perform the logical AND, OR operations, how they work under the hood, and how an OR operation just merges two different...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images