3 bookmarks for 2025-08-13

281.

Insert data

xorm.io/docs/chapter-04/readme

4.Insert data # You can insert objects to database via Insert method.
Insert one object user := new(User) user.Name = "myname" affected, err := engine.Insert(user) After inserted, user.ID will be filled if ID is an autoincremented column.
fmt.Println(user.Id) Insert multiple objects by Slice on one table users := make([]User, 1) users[0].Name = "name0" ... affected, err := engine.Insert(&users) Insert multiple records by Slice of pointer on one table users := make([]*User, 1) users[0] = new(User) users[0].

280.

jwz

www.jwz.org/blog

jwz's blog, est. 1994.

Jamie Zawinski was one of the founders of Netscape and Mozilla.org, was the primary developer of Lucid Emacs, and wrote most of your screen savers. Today he is the proprietor of DNA Lounge, an all ages dance club and live music venue in San Francisco.

279.

DNA Lounge

www.dnalounge.com

DNA Lounge is a late-night, all ages San Francisco
nightclub featuring live music, DJ dancing, burlesque shows, and
private parties. Two stages, four dance floors, six bars
and a full-service late-night restaurant!