Function MySQLPool.this

Sets up a connection pool with the provided connection settings.

Prototypes

this(
  string host,
  string user,
  string password,
  string database,
  ushort port = cast(ushort)3306u,
  uint maxConcurrent = 4294967295u,
  SvrCapFlags capFlags = cast(SvrCapFlags)33293u
);

this(
  string host,
  string user,
  string password,
  string database,
  ushort port,
  SvrCapFlags capFlags
);

this(
  string connStr,
  uint maxConcurrent = 4294967295u,
  SvrCapFlags capFlags = cast(SvrCapFlags)33293u
);

this(
  string connStr,
  SvrCapFlags capFlags
);

Authors

Copyright

License