mirror of
https://github.com/VinGarcia/ksql.git
synced 2025-09-04 19:36:56 +00:00
Updated PGX Support (markdown)
parent
ba77fdefe2
commit
b21796ec4d
@ -18,7 +18,7 @@ When using the `Query`, `QueryOne` and `QueryChunks` functions all arguments pas
|
|||||||
|
|
||||||
The example query below also [available here][examples/pgxsupport] illustrates one possible use-case:
|
The example query below also [available here][examples/pgxsupport] illustrates one possible use-case:
|
||||||
|
|
||||||
[examples/pgxsupport]: https://github.com/VinGarcia/ksql/blob/master/examples/pgxsupport/main.go#L92
|
[examples/pgxsupport]: https://github.com/VinGarcia/ksql/blob/master/examples/pgxsupport/main.go#L91
|
||||||
|
|
||||||
```golang
|
```golang
|
||||||
func checkIfUserBelongsToTeams(ctx context.Context, db ksql.Provider, userID int, teamIDs []int) {
|
func checkIfUserBelongsToTeams(ctx context.Context, db ksql.Provider, userID int, teamIDs []int) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user