Skip to content

Commit

Permalink
fix: camelCase test
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonShin committed Oct 31, 2023
1 parent bf88206 commit 8ac0b6f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/src/reference-guide/2.1.configs-file-based.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Example `sqlxrc.json`
}
```

### "connections"
### (required) "connections"

For default database, you must call it `default` like example above. Any extra DB connections
should have its own unique name such as `postgres` or `some_other_db`
Expand Down
15 changes: 15 additions & 0 deletions tests/sample/sample.queries.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


export type SampleQueryParams = [];


export interface ISampleQueryResult {
someId: number;
};


export interface ISampleQueryQuery {
params: SampleQueryParams;
result: ISampleQueryResult;
};

2 changes: 1 addition & 1 deletion tests/string_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ r#"
export type SomeQueryParams = [string];
export interface ISomeQueryResult {
ExtractString: string;
extractString: string;
};
export interface ISomeQueryQuery {
Expand Down

0 comments on commit 8ac0b6f

Please sign in to comment.