Improve auto/suggested relationship names generated via console
See original GitHub issue- For any FK in an object relationship, generate a relationship name that is the singular form of the table name (remove
s
if that is the last letter). - For any FK in an array relationship, generate a relationship name that is the singular form of the table name (add
s
if that is not the last letter). - If there is already a relationship to the same table via another FK use the current naming scheme (XByYId)
This should be used in “track all relationships” and in the relationships pane as well.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Auto-suggest Control - CodeProject
This article presents code that augments any INPUT box with an auto-suggest feature, AJAX-capable.
Read more >How to implement autocomplete with JavaScript on your website
Go deep into autocomplete - the what and why, and the data and code to implement your own search autocomplete with JavaScript.
Read more >Understanding Relationship Names, Custom Objects, and ...
Salesforce ensures that your custom object names, custom field names, and the relationship names that are associated with them remain unique, even if...
Read more >Oracle® Guided Learning User Guide
Enabling OGL by Embedding JavaScript ; Go to the OGL Console, then select Help Widget Settings in the Content tab. Help Widget Settings...
Read more >The best developer tools - Console Newsletter
Each week Console reviews the best tools for developers. ... What we like: Web app or CLI to generate typesafe code from JSON,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@karthikvt26 You will also need to handle suggestions for multi-column foreign keys.
@karthikvt26 you can append numbers if there is a collision. We allow renaming the relationships. So they can rename it if need be.