You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 20, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: docs/api.md
+1
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,7 @@ You *do not* need to define any keys in your entity other than those that hold n
179
179
180
180
*`define(definition)`: When used, the `definition` passed in will be merged with the original definition passed to the `Entity` constructor. This method tends to be useful for creating circular references in schema.
181
181
*`key`: Returns the key provided to the constructor.
182
+
*`idAttribute`: Returns the idAttribute provided to the constructor in options.
0 commit comments