#1 mORMot 1 » How to call firebird stored procedure? by SynRestDataset or interface » 2020-10-08 17:42:43

PlumeWis
Replies: 1

Hello!

I am a newbie of mORMot and Delphi, and I have a problem with calling firebird stored procedures.
I asked a question on stackoverflow as the link below and Arnaud Bouchez was so kind to answer.

https://stackoverflow.com/questions/641 … -on-mormot

but I followed his answer and tried the database legacy example but couldn't really make it work.
https://tamingthemormot.wordpress.com/2 … databases/
Maybe because I really don't understand how to use interface service.

I also tried EMartin's SynRestDataset and used it to call the procedure but no lucks, it worked only when I selected tables.

In server side, I use TSQLDBZEOSConnectionProperties  with TSQLRestServerDB.  I did make classes for all tables in the database.
Do I need to make classes for stored procedures too so it could work?  or what else do I need to do?

Could you please give any samples project files of code so I could see how to do it correctly?
I've been struggling with this problem for so many days. Thank you in advance.

Best Regards.

Board footer

Powered by FluxBB