Table adapters
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
The issue names no files, tests, or entry points. Begin by locating the type-level SQL and code-generation entry points, then clarify the proposed TableAdapter API and its handling of all columns. Done means an agreed implementation scope for SELECT, INSERT, UPDATE, and DELETE, including the default-value limitation.
Written by the indexing model from the issue text.
Description
Here's a simple scenario: you have a very basic table and you want to perform basic operations on it (SELECT, INSERT, UPDATE, DELETE), e.g.:
type Adapter = TableAdapter<"SomeTable">
That means we get this code generated, roughly:
type Adapter = {
Select: SQL<"select * from SomeTable">
Insert: SQL<"insert into SomeTable(...) values (...)">
Update: SQL<"update SomeTable set (...) where ...">
Delete: SQL<"delete SomeTable where ...">
}
Should be enough for a dead-simple CRUD requirement.
This could get complicated with default values etc., so it should be sufficient to simply mandate usage of all columns. For a more complicated scenario, Date&Darwen's Tutorial D view update system could be considered (but I think it's not that useful in practice).
What do you think?
- Dominant language
- F#
- Stars
- 680
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fsprojects/Rezoom.SQL
-
Difficulty 2/5 1-3 hours Newbie friendliness 20/100
fsprojects/Rezoom.SQL#57 · 1 comment ·
-
Dacpac support info Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
fsprojects/Rezoom.SQL#56 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
fsprojects/Rezoom.SQL#52 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
fsprojects/Rezoom.SQL#50 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
fsprojects/Rezoom.SQL#48 · 3 comments ·
All issues in fsprojects/Rezoom.SQL
Similar issues
-
bug priority:normal ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OpenHands/extensions#626 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
avniproject/avni-client#2135 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
use-agent-os/agent-os#3276 ·