- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 261 for returningT (0.24 seconds)
-
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
private abstract static class RawTypeConsistencyTester<T extends Enum<T> & CharSequence> { abstract T returningT(); abstract void acceptT(T t); abstract <X extends T> X returningX(); abstract <X> void acceptX(X x); abstract <T2 extends Enum<T2> & CharSequence> T2 returningT2(); abstract <T2 extends CharSequence & Iterable<T2>> void acceptT2(T2 t2);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 89K bytes - Click Count (0) -
clause/returning.go
package clause type Returning struct { Columns []Column } // Name where clause name func (returning Returning) Name() string { return "RETURNING" } // Build build where clause func (returning Returning) Build(builder Builder) { if len(returning.Columns) > 0 { for idx, column := range returning.Columns { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column) } } else {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Jan 12 10:18:04 GMT 2025 - 777 bytes - Click Count (0) -
tests/sql_builder_test.go
expected = updatedAtRe.ReplaceAllString(expected, `"updated_at"=?`) // ignore RETURNING "id" (only in PostgreSQL) returningRe := regexp.MustCompile(`(?i)RETURNING "id"`) actually = returningRe.ReplaceAllString(actually, ``) expected = returningRe.ReplaceAllString(expected, ``) actually = strings.TrimSpace(actually) expected = strings.TrimSpace(expected)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 16.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt
"Method com.example.Source.baz(): From non-null returning to null-unmarked returning breaking change.", ) assertHasNoWarning() assertHasNoInformation() } } @Test fun `from null-unmarked returning to non-null returning is not breaking`() {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Oct 27 09:26:32 GMT 2025 - 5.1K bytes - Click Count (0) -
clause/returning_test.go
[]clause.Column{clause.PrimaryColumn}, }, clause.Returning{}, clause.Returning{ []clause.Column{{Name: "name"}, {Name: "age"}}, }}, "SELECT * FROM `users` RETURNING *", nil, }, { []clause.Interface{clause.Select{}, clause.From{}, clause.Returning{ []clause.Column{clause.PrimaryColumn}, }, clause.Returning{Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Jan 12 10:18:04 GMT 2025 - 1.4K bytes - Click Count (0) -
callbacks/helper.go
return } func hasReturning(tx *gorm.DB, supportReturning bool) (bool, gorm.ScanMode) { if supportReturning { if c, ok := tx.Statement.Clauses["RETURNING"]; ok { returning, _ := c.Expression.(clause.Returning) if len(returning.Columns) == 0 || (len(returning.Columns) == 1 && returning.Columns[0].Name == "*") { return true, 0 } return true, gorm.ScanUpdate } } return false, 0 }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Apr 14 12:32:57 GMT 2022 - 3.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt
"Method com.example.Source.foo(): From non-null returning to null returning breaking change." ) assertHasNoWarning() assertHasNoInformation() } } @Test fun `from non-null array element returning to null returning is breaking`() { checkNotBinaryCompatibleJava( v1 = """
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu May 15 17:05:08 GMT 2025 - 18K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt
import org.junit.Test abstract class AbstractJavaNullabilityChangesTest : AbstractBinaryCompatibilityTest() { protected abstract val nullableAnnotationName: String @Test fun `from non-null returning to null returning is breaking`() { checkNotBinaryCompatibleJava( v1 = """ public class Source { public String nonFinalField = "some";
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Feb 04 09:55:47 GMT 2025 - 5.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinNullabilityChangesTest.kt
) { assertHasErrors( "Method com.example.Source.foo(): From non-null returning to null returning breaking change.", "Method com.example.Source.getSomeVal(): From non-null returning to null returning breaking change.", "Method com.example.Source.getSomeVar(): From non-null returning to null returning breaking change." ) assertHasWarnings(Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Feb 04 09:55:47 GMT 2025 - 5K bytes - Click Count (0) -
tests/delete_test.go
// only sqlite, postgres, gaussdb, sqlserver support returning func TestSoftDeleteReturning(t *testing.T) { if DB.Dialector.Name() != "sqlite" && DB.Dialector.Name() != "postgres" && DB.Dialector.Name() != "gaussdb" && DB.Dialector.Name() != "sqlserver" { return } users := []*User{ GetUser("delete-returning-1", Config{}), GetUser("delete-returning-2", Config{}), GetUser("delete-returning-3", Config{}), } DB.Create(&users)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 9.5K bytes - Click Count (0)