datajoint / datajoint-docs-original

https://docs.datajoint.org
Other
2 stars 13 forks source link

revisit 'Foreign key options' section #248

Open ixcat opened 3 years ago

ixcat commented 3 years ago

needs revisiting w/r/t proposed syntax drift; other unique options (indexes, etc) this page: https://docs.datajoint.io/python/definition/10-Dependencies.html

guzman-raphael commented 3 years ago

Though the options documentation reflects the current datajoint-python and new syntax, this has not been updated yet in datajoint-matlab. An example of the prior syntax for specifying options with renaming is the following:

(new_attr1, new_attr2) -> [nullable, unique] ClassName.TableName(old_attr1, old_attr2)