- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for John (0.13 sec)
-
chainable_api.go
} return } // Or add OR conditions // // Or is used to chain together queries with an OR. // // // Find the first user with name equal to jinzhu or john // db.Where("name = ?", "jinzhu").Or("name = ?", "john").First(&user) func (db *DB) Or(query interface{}, args ...interface{}) (tx *DB) { tx = db.getInstance() if conds := tx.Statement.BuildCondition(query, args...); len(conds) > 0 {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Wed Apr 17 03:38:55 GMT 2024 - 14.3K bytes - Viewed (1)