@graphql-stratus/clients
v0.0.5
Published
Clients to connect to g-Statrus
Downloads
3
Readme
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