- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 7,566 for Find (0.06 sec)
-
tests/sql_builder_test.go
sql := dryRunDB.Where("a = ? or b = ?", "a", "b").Find(&User{}).Statement.SQL.String() if !regexp.MustCompile(`WHERE \(a = .+ or b = .+\) AND .users.\..deleted_at. IS NULL`).MatchString(sql) { t.Fatalf("invalid sql generated, got %v", sql) } sql = dryRunDB.Where("a = ? or b = ?", "a", "b").Or("c = ? and d = ?", "c", "d").Find(&User{}).Statement.SQL.String()
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 16.7K bytes - Viewed (0) -
tests/update_many2many_test.go
} var user3 User DB.Preload("Languages").Preload("Friends").Find(&user3, "id = ?", user.ID) CheckUser(t, user2, user3) if err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user4 User DB.Preload("Languages").Preload("Friends").Find(&user4, "id = ?", user.ID) CheckUser(t, user4, user)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/NetbiosAddress.java
*/ boolean isActive ( CIFSContext tc ) throws UnknownHostException; /** * Determines if this address is set to be permanent. * * @param tc * context to use * @return whether this address is permanent * * @throws UnknownHostException * if the host cannot be resolved to find out. */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js
a,b,c){"use strict";var d=0;a.fn.validateOnBlur=function(b,c){var d=this,e=this.find("*[data-validation]");return e.each(function(){var e=a(this);if(e.is("[type=radio]")){var f=d.find('[type=radio][name="'+e.attr("name")+'"]');f.bind("blur.validation",function(){e.validateInputOnBlur(b,c,!0,"blur")}),c.validateCheckboxRadioOnClick&&f.bind("click.validation",function(){e.validateInputOnBlur(b,c,!0,"click")})}}),e.bind("blur.validation",function(){a(this).validateInputOnBlur(b,c,!0,"blur")}),c.val...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 32.8K bytes - Viewed (0) -
src/main/webapp/js/admin/adminlte.min.js
moveClass("menu-is-opening menu-open"),e.stop().slideUp(this._config.animationSpeed,(function(){n.default(a._element).trigger(i),e.find(".menu-open > .nav-treeview").slideUp(),e.find(Ot).removeClass("menu-is-opening menu-open")}))},t.toggle=function(e){var t=n.default(e.currentTarget),a=t.parent(),i=a.find("> .nav-treeview");if(i.is(qt)||(a.is(Mt)||(i=a.parent().find("> .nav-treeview")),i.is(qt))){e.preventDefault();var o=t.parents(Mt).first();o.hasClass(Pt)?this.collapse(n.default(i),o):this.ex...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 45.3K bytes - Viewed (0) -
tests/connpool_test.go
t.Fatalf("Should find saved record, but got %v", err) } user1 := *GetUser("transaction1-1", Config{}) if err = tx.Save(&user1).Error; err != nil { t.Fatalf("No error should raise, but got %v", err) } if err = tx.First(&User{}, "name = ?", user1.Name).Error; err != nil { t.Fatalf("Should find saved record, but got %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Feb 06 02:54:40 UTC 2024 - 5.5K bytes - Viewed (0) -
src/main/webapp/js/admin/admin.js
var docId = button.data("docid"); var title = button.data("title"); var url = button.data("url"); $(this) .find(".modal-body #delete-doc-title") .text(title); $(this) .find(".modal-body #delete-doc-url") .text(url); $(this) .find(".modal-footer input#docId") .val(docId); }); // Date range picker var lang = ( window.navigator.userLanguage ||
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Aug 06 20:44:47 UTC 2018 - 3.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Android10Platform.kt
socketAdapters.find { it.matchesSocketFactory(sslSocketFactory) } ?.trustManager(sslSocketFactory) override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<Protocol>, ) { // No TLS extensions if the socket class is custom. socketAdapters.find { it.matchesSocket(sslSocket) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.7K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
.filter { it.isNotEmpty() } .onEach { check(contributorLineRegex.containsMatchIn(it)) { "Invalid contributor line: $it" } } .map { GitHubUser(contributorLineRegex.find(it)!!.groupValues[2], contributorLineRegex.find(it)!!.groupValues[1]) } .toSet() } /** * Parses the release notes file and returns the triple: (linesBeforeContributors, contributorLines, linesAfterContributors) */
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 5.6K bytes - Viewed (0) -
tests/associations_has_many_test.go
} CheckUser(t, user, user) // Find var user2 User DB.Find(&user2, "id = ?", user.ID) DB.Model(&user2).Association("Pets").Find(&user2.Pets) CheckUser(t, user2, user) var pets []Pet DB.Model(&user).Where("name = ?", user.Pets[0].Name).Association("Pets").Find(&pets) if len(pets) != 1 { t.Fatalf("should only find one pets, but got %v", len(pets)) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 16K bytes - Viewed (0)