- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 64 for Rows (0.02 seconds)
-
tests/association_generics_test.go
if rows, err := gorm.G[User](DB).Where("id = ?", user.ID).Set(createOp).Update(ctx); err != nil { t.Fatalf("create tools: %v", err) } else if rows != 0 { t.Fatalf("rows %d", rows) } AssertAssociationCount(t, user, "Tools", 1, "after create tool") unlinkOp := clause.Association{Association: "Tools", Type: clause.OpUnlink}
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 05:42:26 GMT 2025 - 37.9K bytes - Click Count (0) -
logger/slog.go
if l.LogLevel <= Silent { return } elapsed := time.Since(begin) sql, rows := fc() fields := []slog.Attr{ slog.String("duration", fmt.Sprintf("%.3fms", float64(elapsed.Nanoseconds())/1e6)), slog.String("sql", sql), } if rows != -1 { fields = append(fields, slog.Int64("rows", rows)) } switch { case err != nil && (!l.IgnoreRecordNotFoundError || !errors.Is(err, ErrRecordNotFound)):
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Oct 30 10:56:26 GMT 2025 - 2.9K bytes - Click Count (0) -
logger/logger.go
sql, rows := fc() if rows == -1 { l.Printf(l.traceErrStr, utils.FileWithLineNum(), err, float64(elapsed.Nanoseconds())/1e6, "-", sql) } else { l.Printf(l.traceErrStr, utils.FileWithLineNum(), err, float64(elapsed.Nanoseconds())/1e6, rows, sql) } case elapsed > l.SlowThreshold && l.SlowThreshold != 0 && l.LogLevel >= Warn: sql, rows := fc()
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 6.3K bytes - Click Count (0) -
tests/generics_test.go
} else if u.Name != name || u.ID == 0 { t.Errorf("found invalid user, got %v", u) } name += "Update" rows, err := gorm.G[User](DB).Where("id = ?", u.ID).Update(ctx, "name", name) if rows != 1 { t.Fatalf("failed to get affected rows, got %d, should be %d", rows, 1) } nu, err := gorm.G[User](DB).Where("name = ?", name).First(ctx) if err != nil {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 30 08:11:14 GMT 2025 - 34.9K bytes - Click Count (0) -
finisher_api.go
tx := db.getInstance().Set("rows", false) tx = tx.callbacks.Row().Execute(tx) row, ok := tx.Statement.Dest.(*sql.Row) if !ok && tx.DryRun { db.Logger.Error(tx.Statement.Context, ErrDryRunModeUnsupported.Error()) } return row } func (db *DB) Rows() (*sql.Rows, error) { tx := db.getInstance().Set("rows", true) tx = tx.callbacks.Row().Execute(tx) rows, ok := tx.Statement.Dest.(*sql.Rows)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 22.9K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/webconfig/admin_webconfig_edit.jsp
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 15.9K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/fileconfig/admin_fileconfig_edit.jsp
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 15.3K bytes - Click Count (0) -
tests/sql_builder_test.go
{Name: "having_user_1", Age: 30}, } DB.Create(&users) rows, err := DB.Select("name, count(*) as total").Table("users").Group("name").Having("name IN ?", []string{users[0].Name, users[1].Name}).Rows() if err != nil { t.Fatalf("got error %v", err) } defer rows.Close() for rows.Next() { var name string var total int64 rows.Scan(&name, &total) if name == users[0].Name && total != 3 {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 16.7K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/dataconfig/admin_dataconfig_edit.jsp
<la:textarea styleId="handlerParameter" property="handlerParameter" styleClass="form-control" rows="5"/> </div> </div> <div class="form-group row">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 9.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java
} } /** * Executes the update. * * @param ps * {@link PreparedStatement}. Must not be {@literal null}. * @return The number of rows affected by the update. * @throws SQLRuntimeException * If a {@link SQLException} occurs. */ public static int executeUpdate(final PreparedStatement ps) throws SQLRuntimeException {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.9K bytes - Click Count (0)