Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stored procedures #138

Open
luX0r-reload opened this issue Jul 3, 2020 · 0 comments
Open

Stored procedures #138

luX0r-reload opened this issue Jul 3, 2020 · 0 comments

Comments

@luX0r-reload
Copy link

luX0r-reload commented Jul 3, 2020

Me and my team are developing a dart back-end and we need to call stored procedures and retrieve result recordsets with column names.
It is possible with this driver?

Many thanks.

EDIT:
It works.

final List<Map<String, dynamic>> results = await conn.mappedResultsQuery("SELECT * from get_user_by_id(@id)", substitutionValues: {"id": id});

Recordset is retrieved correctly, but appears as a child of table "null".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant