Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

execute_with_columns method to allow users to retrieve also column names #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tmontanaro
Copy link

@tmontanaro tmontanaro commented May 12, 2020

execute_with_columns method to allow users to retrieve also column names.
Maybe a better integration is possible, but it was the easiest and fastest way to do it with a compatibility with old structure

To use it:

rows, columns = sql_worker.execute_with_columns("SELECT * from tester")

@palantirtech
Copy link
Member

Thanks for your interest in palantir/sqlite3worker, @tmontanaro! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

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

Successfully merging this pull request may close these issues.

2 participants