CatchTheTornado / CatchTheTornado/askql

Implement knex-related resources

Open
#352 0 comments 0 reactions 0 assignees View on GitHub
AskVM enhancement type:resources
Dominant language
TypeScript
Stars
387
Forks
30
PR merge metrics
No merged PRs in 30d

Description

We were talking that it would be nice to have `knex` methods available in AskScript.
A sample file using mocked `knex` and `where` can be found here: src/askscript/__tests__/02-query/query-09-node_with_expression.ask
```
ask {
query {
friends::knex:where({ email: 'hi@example.com' }) {
firstName
lastName
}
}
}
```

Contributor guide

Open the contributing guide

Research direction

Start with src/askscript/__tests__/02-query/query-09-node_with_expression.ask and read how the mocked knex and where usage is represented. Trace how AskScript exposes query resources, then determine the supported knex methods and verify that the sample query returns friends with firstName and lastName.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.