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

Allow reading from stdin #8

Open
Florents-Tselai opened this issue Jun 26, 2024 · 0 comments
Open

Allow reading from stdin #8

Florents-Tselai opened this issue Jun 26, 2024 · 0 comments

Comments

@Florents-Tselai
Copy link
Owner

Currently onlye one query can be executed at the time

Ideally we'd like to have unix-style piping supported

tsellm my.db <<SQL
CREATE TABLE [prompts] (
   [prompt] TEXT
);
INSERT INTO prompts VALUES('hello world!');
INSERT INTO prompts VALUES('how are you?');
INSERT INTO prompts VALUES('is this real life?');
INSERT INTO prompts VALUES('1+1=?');
SQL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant