Back to front pageView on Hacker News (opens in a new tab)Show HN: ESQLate – Build minimum viable admin panels with just SQL (opens in a new tab)github.com505 pointsby mattatkeyboard (on Hacker News)6 years agogithub.com (opens in a new tab)GitHub - forbesmyester/esqlate: Build minimum viable admin panels quickly with just SQLBuild minimum viable admin panels quickly with just SQL - forbesmyester/esqlateComments (79) 30 threadsShow all commentsShowing thread 21 of 30[-]trungdq886 years ago2 replies#Interesting. How would you make this to support one-to-many/many-to-many relationships?BjoernKW6 years ago#This being a tabular visualisation of SQL result sets you'd either have duplication in some columns or aggregated results.That's simply how SQL deals with 1:n and n:m relations.mattatkeyboard6 years ago#You write the SQL into a JSON file. Users then can then execute that SQL with their own parameters. So the many-to-many is in your capability... A key reason for this is that it itself should not be clever.
Show HN: ESQLate – Build minimum viable admin panels with just SQL (opens in a new tab)github.com505 pointsby mattatkeyboard (on Hacker News)6 years ago
trungdq886 years ago2 replies#Interesting. How would you make this to support one-to-many/many-to-many relationships?
BjoernKW6 years ago#This being a tabular visualisation of SQL result sets you'd either have duplication in some columns or aggregated results.That's simply how SQL deals with 1:n and n:m relations.
mattatkeyboard6 years ago#You write the SQL into a JSON file. Users then can then execute that SQL with their own parameters. So the many-to-many is in your capability... A key reason for this is that it itself should not be clever.
Comments (79) 30 threads
Show all comments
Showing thread 21 of 30
That's simply how SQL deals with 1:n and n:m relations.