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