views:

25

answers:

1

Is there a way to retrieve the key name you set using:

Model(
  key_name = ...
  ...
)

I tried using the key() method but that returns the one Google makes.

+2  A: 

It is key().name()

Docs on the Key class

Martin
This worked for me. Thanks Martin.
ryan