0.0.5 • Published 3 years ago

@graphql-stratus/clients v0.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

STRATUS Clients

Define a client follow the interface of stratus Clients

export type ClientType = {
  get: (sql: string, params: any) => Promise<ResultType>;
  exec: (
    sql: string,
    params: any
  ) => Promise<Boolean | ErrorResultType>;
};

Any client used inside of datasource should follow the ClientType interface to get access and run commands

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago