Search Postgresql Archives

Re: Foreign Keys as first class citizens at design time?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I agree with each of the points you've made.  The idea here is meant as an extension of what is already available.  So yes, this is intended to answer the questions of the designer's original model.  The consideration being that you design your database and the underlying logic of your decision are already built in.  Then when querying that database to perform mundane day to day business tasks your query set is simple and easy to build.

I don't see why this should detract from the idea of a free form query being built using the existing tools to answer a new question which may be entirely unrelated to the original models purpose.  This just couldn't work independently of the current SQL feature set.

Additionally, this something which has not really been touched on, this allows a form of iterative structure in a one line query.


On Fri, 14 Aug 2015 03:52:28 +0100, David G. Johnston <david.g.johnston@xxxxxxxxx> wrote:

On Thu, Aug 13, 2015 at 7:26 PM, Stephen Feyrer <stephen.feyrer@xxxxxxxxxxxxxx> wrote:
When we design databases, invariably, normally we design the queries at the same time. 

​Well this may be true to an extent well implemented models have the ability to answer questions (queries) the original designer never thought of or that were not important at the time.​

​As for the rest - ​invest in a good graphical query builder (or write one if the existing choices are insufficient).

David J.




--
Kind regards


Stephen Feyrer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux