Slim3 Datastore‎ > ‎

Creating, Getting and Deleting Model

Saving a model to the datastore is a simple matter of calling the Datastore.put(). Slim3 Datastore uses the primary key field of the object to keep track of which datastore entity corresponds with the data object, and can generate keys for new objects automatically. You can use keys to retrieve entities quickly, and you can construct keys from known values (such as account IDs).