CreatePool.poolFormat

Undocumented in source.
mixintemplate CreatePool(TPool, string extraParams = "")
static const
auto poolFormat = q{ package(diamond.data.mapping.engines) TPool getPool(string connectionString) { auto pool = _pools.get(connectionString, null); if (!pool) { synchronized (globalPoolLock) { pool = new TPool(connectionString%s); _pools[connectionString] = pool; } return getPool(connectionString); } return pool; } };

Meta