(db *sqlx.DB, mailBoxId int64)
| 113 | } |
| 114 | |
| 115 | func mailUidTestNextUid(db *sqlx.DB, mailBoxId int64) (int64, error) { |
| 116 | query, args, err := statementbuilder.Squirrel.Select("nextuid").Prepared(true).From("mail_box").Where(goqu.Ex{"id": mailBoxId}).ToSQL() |
| 117 | if err != nil { |
| 118 | return 0, err |
| 119 | } |
| 120 | var nextuid int64 |
| 121 | err = db.QueryRowx(query, args...).Scan(&nextuid) |
| 122 | return nextuid, err |
| 123 | } |
no test coverage detected