- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for new_name (0.07 sec)
-
tests/update_test.go
user := *GetUser("select_with_update_column", Config{Account: true, Pets: 3, Toys: 3, Company: true, Manager: true, Team: 3, Languages: 3, Friends: 4}) DB.Create(&user) updateValues := map[string]interface{}{"Name": "new_name", "Age": 50} var result User DB.First(&result, user.ID) time.Sleep(time.Second) lastUpdatedAt := result.UpdatedAt DB.Model(&result).Select("Name").Updates(updateValues) var result2 User
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Dec 04 03:50:58 UTC 2023 - 30.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
String oldName = Thread.currentThread().getName(); final Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName"); Callable<@Nullable Void> callable = new Callable<@Nullable Void>() { @Override public @Nullable Void call() throws Exception { assertEquals(Thread.currentThread().getName(), newName.get()); return null; } };
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 5.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
CHECK_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); const string dev_name(TF_DeviceListName(devices, i, status.get())); CHECK_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); if (dev_type == device_type) { *device_name = dev_name; LOG(INFO) << "Found " << device_type << " device " << *device_name; TF_DeleteDeviceList(devices); return true;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 23.5K bytes - Viewed (0) -
migrator/migrator.go
func (m Migrator) RenameColumn(value interface{}, oldName, newName string) error { return m.RunWithValue(value, func(stmt *gorm.Statement) error { if stmt.Schema != nil { if field := stmt.Schema.LookUpField(oldName); field != nil { oldName = field.DBName } if field := stmt.Schema.LookUpField(newName); field != nil { newName = field.DBName } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Apr 26 07:15:49 UTC 2024 - 29K bytes - Viewed (0) -
migrator.go
GetTypeAliases(databaseTypeName string) []string // Tables CreateTable(dst ...interface{}) error DropTable(dst ...interface{}) error HasTable(dst interface{}) bool RenameTable(oldName, newName interface{}) error GetTables() (tableList []string, err error) TableType(dst interface{}) (TableType, error) // Columns AddColumn(dst interface{}, field string) error DropColumn(dst interface{}, field string) error
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 3.1K bytes - Viewed (0) -
tests/migrate_test.go
} } type NewColumnStruct struct { gorm.Model Name string NewName string } if err := DB.Table("column_structs").Migrator().AddColumn(&NewColumnStruct{}, "NewName"); err != nil { t.Fatalf("Failed to add column, got %v", err) } if !DB.Table("column_structs").Migrator().HasColumn(&NewColumnStruct{}, "NewName") { t.Fatalf("Failed to find added column") }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0) -
.github/workflows/create-release.yml
id: generate_release_notes uses: release-drafter/release-drafter@v6 with: config-name: 'release-drafter.yml' name: "Release ${{ github.ref_name }}" tag: ${{ github.ref_name }} publish: true prerelease: false env:
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Oct 09 11:31:04 UTC 2024 - 663 bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java
} public static AccessorKey ofMethodWithSameSignatureButNewName(String newName, JApiMethod jApiMethod) { String descriptor = jApiMethod.getNewMethod().get().getSignature(); String containingType = jApiMethod.getjApiClass().getFullyQualifiedName(); return new AccessorKey(containingType, newName, descriptor); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Aug 13 19:17:41 UTC 2024 - 8K bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image01.py
def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) # Update the viewport manually context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("POST/items/Create Item").click() page.get_by_role("tab", name="Schema").first.click() # Manually add the screenshot page.screenshot(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 13 09:14:46 UTC 2024 - 974 bytes - Viewed (0)