- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 304 for returning (1.53 sec)
-
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 {Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Jan 12 10:18:04 UTC 2025 - 777 bytes - Viewed (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`() {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Oct 27 09:26:32 UTC 2025 - 5.1K bytes - Viewed (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{Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Jan 12 10:18:04 UTC 2025 - 1.4K bytes - Viewed (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 }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Apr 14 12:32:57 UTC 2022 - 3.7K bytes - Viewed (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 = """
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu May 15 17:05:08 UTC 2025 - 18K bytes - Viewed (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";
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Feb 04 09:55:47 UTC 2025 - 5.1K bytes - Viewed (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(Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Feb 04 09:55:47 UTC 2025 - 5K bytes - Viewed (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)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 9.5K bytes - Viewed (0) -
utils/tests/dummy_dialecter.go
callbacks.RegisterDefaultCallbacks(db, &callbacks.Config{ CreateClauses: []string{"INSERT", "VALUES", "ON CONFLICT", "RETURNING"}, UpdateClauses: []string{"UPDATE", "SET", "WHERE", "RETURNING"}, DeleteClauses: []string{"DELETE", "FROM", "WHERE", "RETURNING"}, LastInsertIDReversed: true, }) return nil } func (DummyDialector) DefaultValueOf(field *schema.Field) clause.Expression {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Mar 06 06:03:31 UTC 2023 - 2.2K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
In this example, the function `generate_html_response()` already generates and returns a `Response` instead of returning the HTML in a `str`. By returning the result of calling `generate_html_response()`, you are already returning a `Response` that will override the default **FastAPI** behavior.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.4K bytes - Viewed (0)