kindagoose
Version:
Integrate Typegoose with NestJS!
22 lines • 689 B
TypeScript
export declare class MongoDBConnectionURIBuilder {
private protocol;
private hostname;
private port;
private username;
private password;
private databaseName;
private connectionParams;
setProtocol(protocol: string): this;
setHostname(hostname: string): this;
setPort(port: string | number): this;
setUsername(username: string): this;
setPassword(password: string): this;
setDatabaseName(dbName: string): this;
/**
*
* @param {string} params - string like `param1=value1¶m2=value2`
*/
setConnectionParams(params: string): this;
build(): string;
}
//# sourceMappingURL=mongodb-connection-uri-builder.d.ts.map