[sr-dev] Initial DB Merge Proposal

Martin Hoffmann martin.hoffmann at telio.ch
Thu Sep 24 09:02:45 CEST 2009


Grzegorz Stanislawski wrote:
> 
> What i'd like to propose is to allow user enter its own query string
> (as modparam) which would be executed by certain module in certain
> situation.

Have you considered using database views? This should give you the
freedom you need in your own database definition and maps it to the
well-known database model for SR.

Keeping such a well-known model adds a layer of dependability. Everyone
who knows SR will be able to query relevant information right away. And
from the view definitions, this person will immediately see how it maps
to your internal data model.

Regards,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20090924/36f4ebca/attachment.pgp>


More information about the sr-dev mailing list