- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 387 for Column (0.04 seconds)
-
callbacks/associations.go
if len(defaultUpdatingColumns) > 0 || stmt.DB.FullSaveAssociations { onConflict.Columns = make([]clause.Column, 0, len(s.PrimaryFieldDBNames)) for _, dbName := range s.PrimaryFieldDBNames { onConflict.Columns = append(onConflict.Columns, clause.Column{Name: dbName}) } onConflict.UpdateAll = stmt.DB.FullSaveAssociations if !onConflict.UpdateAll {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Feb 13 06:16:26 GMT 2025 - 14.4K bytes - Click Count (0) -
tests/upsert_test.go
} else if len(langs) != 1 { t.Errorf("should only find only 1 languages, but got %+v", langs) } lang3 := Language{Code: "upsert", Name: "Upsert"} if err := DB.Clauses(clause.OnConflict{ Columns: []clause.Column{{Name: "code"}}, DoUpdates: clause.Assignments(map[string]interface{}{"name": "upsert-new"}), }).Create(&lang3).Error; err != nil { t.Fatalf("failed to upsert, got %v", err) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Jul 29 11:06:13 GMT 2025 - 13.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithLocationAssert.java
assertTrue(false, message); } return this; } private String formatLocation(int columnNumber, int lineNumber) { return String.format("line %d, column %d", lineNumber, columnNumber); } // Helper method for backward compatibility static ProjectBuildingResultWithLocationAssert projectBuildingResultWithLocation(int columnNumber, int lineNumber) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.7K bytes - Click Count (0) -
internal/s3select/select_test.go
wantResult string }{ { name: "Select a column containing dot", query: `select "na.me" from S3Object s`, wantResult: `apple mango`, }, { name: "Select column containing dot with table name prefix", query: `select count(S3Object."na.me") from S3Object`, wantResult: `2`, }, { name: "Select column containing dot with table alias prefix",Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 76.1K bytes - Click Count (0) -
tests/embedded_struct_test.go
t.Fatalf("failed to auto migrate, got error: %v", err) } for _, name := range []string{"author_id", "author_name", "author_email"} { if !DB.Migrator().HasColumn(&EngadgetPost{}, name) { t.Errorf("should has prefixed column %v", name) } } stmt := gorm.Statement{DB: DB} if err := stmt.Parse(&EngadgetPost{}); err != nil { t.Fatalf("failed to parse embedded struct") } else if len(stmt.Schema.PrimaryFields) != 1 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 7.3K bytes - Click Count (0) -
src/cmd/asm/internal/lex/tokenizer.go
return t.base } func (t *Tokenizer) SetBase(base *src.PosBase) { t.base = base } func (t *Tokenizer) Line() int { return t.line } func (t *Tokenizer) Col() int { return t.s.Pos().Column } func (t *Tokenizer) Next() ScanToken { s := t.s for { t.tok = ScanToken(s.Scan()) if t.tok != scanner.Comment { break } text := s.TokenText()
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Aug 04 20:35:21 GMT 2022 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java
assertTrue(INSTANCE.isEmpty()); } public void testCellSet() { assertEquals(ImmutableSet.of(), INSTANCE.cellSet()); } public void testColumn() { assertEquals(ImmutableMap.of(), INSTANCE.column(1)); } public void testColumnKeySet() { assertEquals(ImmutableSet.of(), INSTANCE.columnKeySet()); } public void testColumnMap() { assertEquals(ImmutableMap.of(), INSTANCE.columnMap()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 3.3K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParserException.java
public class ModelParserException extends MavenException { /** * The one-based index of the line containing the error. */ private final int lineNumber; /** * The one-based index of the column containing the error. */ private final int columnNumber; public ModelParserException() { this(null, null); } public ModelParserException(String message) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Sep 22 07:25:10 GMT 2023 - 1.9K bytes - Click Count (0) -
docs/en/docs/tutorial/sql-databases.md
saving*. SQLModel understands that the database will provide the `id` and *defines the column as a non-null `INTEGER`* in the database schema. See <a href="https://sqlmodel.tiangolo.com/tutorial/create-db-and-table/#primary-key-id" class="external-link" target="_blank">SQLModel docs on primary keys</a> for details. * `Field(index=True)` tells SQLModel that it should create a **SQL index** for this column, that would allow faster lookups in the database when reading data filtered by this column....
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 02 05:06:56 GMT 2025 - 15.8K bytes - Click Count (0) -
tests/update_test.go
} if err := DB.Model(&results[1]).Clauses(clause.Returning{Columns: []clause.Column{{Name: "age"}}}).Updates(map[string]interface{}{"age": gorm.Expr("age + ?", 100)}).Error; err != nil { t.Errorf("Not error should happen when updating with gorm expr, but got %v", err) } if results[1].Age-results[0].Age != 100 { t.Errorf("failed to return updated age column") } } func TestUpdateWithDiffSchema(t *testing.T) {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 30.4K bytes - Click Count (0)