You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
724 B
724 B
Upgrade Instructions
Upgrade from 2.x to 3.x
- Change your package import paths from
github.com/Kamva/mgm/v2
togithub.com/Kamva/v3
.
- built-in
ID
field changed json tag value from_id
toid
f665e15
Upgrade from 1.x to 2.x
-
Change your package import paths from
github.com/Kamva/mgm
togithub.com/Kamva/v3
. -
methods
Save
andSaveWithContext
was removed from collections.- To Create an entity use the
Create
orCreateWithCtx
methods. - To update an entity use the
Update
orUpdateWithCtx
methods.
- To Create an entity use the
-
method
IsNew
method was removed from themodel
interface, don't use it.