select a repository by the type of persistent object
closes any open session from the underlying database
creates many persistent objects at once.
creates many persistent objects at once.
because PWithTypeKey is an implicit class, you can call this method
using just aggregate roots, and the roots will be converted to
PWithTypeKey
implicitly:
repoPool.createMany(user1, user2, user2, blogPost1, blogPost2, blog)
the persistent objects to persist, wrapped with their
TypeKeys
the execution context
[Assoc.apply]
non-desctructively creates any needed database constructs
an iterable collection of the repositories
a collection of repositories