mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 20:50:19 +08:00
Rename to AddUsersInBatch().
This commit is contained in:
@ -345,7 +345,7 @@ func AddUsers(users []*User) bool {
|
||||
return affected != 0
|
||||
}
|
||||
|
||||
func AddUsersSafe(users []*User) bool {
|
||||
func AddUsersInBatch(users []*User) bool {
|
||||
batchSize := 1000
|
||||
|
||||
if len(users) == 0 {
|
||||
|
Reference in New Issue
Block a user