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
Would there be a good shorthand syntax for foreign keys or more general situations where the column being populated has a suffix that matches the name of the column being referenced?
public
person
leela
name 'Turanga Leela'
pet
_
name 'Nibbler'
-- Expands to `person_id [email protected]`
[person.id] @leela
Or maybe..
public
person
leela
name 'Turanga Leela'
pet
_
name 'Nibbler'
-- Expands to `person_id person#leela.id`
person[id] @leela
Questions:
Is that really any better than just person_id @leela.id?
If so, is it better enough to justify any more thought or effort?
Closing this because I just don't think there's enough value for the complexity, and it is too closely tying language features to database structure that might not even be relevant for a lot of people.
Would there be a good shorthand syntax for foreign keys or more general situations where the column being populated has a suffix that matches the name of the column being referenced?
Or maybe..
Questions:
person_id @leela.id
?Requirements:
The text was updated successfully, but these errors were encountered: