lpil / lpil/yesql

Support for multiple queries per file?

Open
#3 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
81
Forks
9
PR merge metrics
No merged PRs in 30d

Description

From the README and examples it seems (unlike clojure's yesql or even eql) only one query per file is supported. Was this a deliberate choice? or just not implemented as yet?

At the moment this is the only barrier for me to use this library exclusively as i foresee having to create many sql files for even a simple CRUD application with more than one db model/table.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue points to the README and examples, which describe one query per file; start there to confirm the current behavior. Then locate the SQL-file loading and parsing path and define how multiple queries would be represented and exposed; done means one file can support multiple queries without requiring a separate file for each query.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir, sql
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.