Open
Description
I'm very new to Google's DataStore.
I want to make a list of my books with a button to delete the books I want.
But for this, I need to create a route to eliminate them:
$books= new GDS\Store('Book');
foreach($books->fetchAll() as $book)
{
?>
<h2><?php echo $book->title; ?> <a href="/delete/<?php echo $book->key; ?>">Delete</a></h2>
<?php
}
How do I create a route with the unique ID of the book ?. Is there any way to make automatic IDs ?.