edge-sql icon indicating copy to clipboard operation
edge-sql copied to clipboard

Stored procedure support

Open abmclin opened this issue 11 years ago • 2 comments

When I read the source code, I noticed it has support for executing stored procedures which was added in Nov 2013. I tried it out and it seems to work fine in my test cases.

Before I go ahead and commit to using this functionality, I was wondering if there are additional reasons why this hasn't yet been advertised in edge's documentation.

Appreciate it.

Alex

abmclin avatar Aug 14 '14 15:08 abmclin

@abenjm I know this is old. But do you have any examples of how you called a stored proc with edge?

notsle avatar Apr 26 '17 21:04 notsle

@mikeelston you can call stored procedure with EXEC eg: EXEC sp_YouAwesomeStoredProc

edge.func('sql', 'EXEC sp_YouAwesomeStoredProc');

But due to lack of activity in this project I would recommend another SQL lib. My favorite: https://github.com/tediousjs/tedious

Miramac avatar Apr 28 '17 10:04 Miramac

Full documentation here: https://github.com/agracio/edge-sql

agracio avatar Apr 23 '24 15:04 agracio