oceandrift-database ~master (2023-09-07T00:06:24.9694039)
Dub
Repo
EntityManager.manyToManyAssign
oceandrift
db
orm
EntityManager
Assigns two entities with a many-to-many relation to each other
struct
EntityManager
(DatabaseDriver)
@
safe
void
manyToManyAssign
(
TEntity1
TEntity2
string
joinTableName_
=
joinTableName
!(
TEntity1
,
TEntity2
)
)
(
TEntity1
e1
,
TEntity2
e2
)
if
(
isEntityType
!
TEntity1
&&
isEntityType
!
TEntity2
)
if
(
isORMCompatible
!
DatabaseDriver
)
Meta
Source
See Implementation
oceandrift
db
orm
EntityManager
constructors
this
functions
find
get
manyToManyAssign
manyToManyUnassign
manyToOne
oneToOne
remove
save
store
update
static functions
_pragma
manyToMany
oneToMany
Assigns two entities with a many-to-many relation to each other