Given key path will be prepended to any path elements on the current key.
Example:
$parent = $datastore->key('Person', 'Dad');
$key->ancestorKey($parent);
public ancestorKey ( |
||
$key | The ancestor Key. | |
return |