firebird icon indicating copy to clipboard operation
firebird copied to clipboard

Declare procedure and function for a table

Open nLeonardt95 opened this issue 3 years ago • 2 comments

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()

nLeonardt95 avatar Sep 23 '21 09:09 nLeonardt95

What's the difference from simple "MyProcedure"?

aafemt avatar Sep 23 '21 09:09 aafemt

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.

nLeonardt95 avatar Sep 23 '21 10:09 nLeonardt95