firebird
firebird copied to clipboard
Declare procedure and function for a table
Instead of packages or additionally, wouldn't it also make sense to simply store procedures and function for a table?
And then call them e.g. table = article
article.MyProcedure()
What's the difference from simple "MyProcedure"?
That the procedures are grouped.
You can already do this with the packages, but it would also be nice if you can do this in a table.
Then you can group procedures that thematically belong to a table there and don't have to create a package that is named like the table.