Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 304 for _strict (0.04 sec)

  1. clause/delete.go

    package clause
    
    type Delete struct {
    	Modifier string
    }
    
    func (d Delete) Name() string {
    	return "DELETE"
    }
    
    func (d Delete) Build(builder Builder) {
    	builder.WriteString("DELETE")
    
    	if d.Modifier != "" {
    		builder.WriteByte(' ')
    		builder.WriteString(d.Modifier)
    	}
    }
    
    func (d Delete) MergeClause(clause *Clause) {
    	clause.Name = ""
    	clause.Expression = d
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Mar 09 09:07:00 UTC 2020
    - 359 bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

       * MyList} to save space. So long as {@code MyList} has all the public supertypes of {@code
       * MySubList}, this is safe. For these cases, for which {@code reserializeAndAssert} is too
       * strict, use {@link #reserialize}.
       *
       * @return the re-serialized object
       * @throws RuntimeException if the specified object was not successfully serialized or
       *     deserialized
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. clause/returning_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestReturning(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Returning{
    				[]clause.Column{clause.PrimaryColumn},
    			}},
    			"SELECT * FROM `users` RETURNING `users`.`id`", nil,
    		}, {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Jan 12 10:18:04 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. tests/multi_primary_keys_test.go

    		t.Fatalf("EN Blog's tags should be cleared")
    	}
    }
    
    func TestCompositePrimaryKeysAssociations(t *testing.T) {
    	type Label struct {
    		BookID *uint  `gorm:"primarykey"`
    		Name   string `gorm:"primarykey"`
    		Value  string
    	}
    
    	type Book struct {
    		ID     int
    		Name   string
    		Labels []Label
    	}
    
    	DB.Migrator().DropTable(&Label{}, &Book{})
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. clause/update_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestUpdate(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Update{}},
    			"UPDATE `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Update{Modifier: "LOW_PRIORITY"}},
    			"UPDATE LOW_PRIORITY `users`", nil,
    		},
    		{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 722 bytes
    - Viewed (0)
  6. migrator/table_type.go

    package migrator
    
    import (
    	"database/sql"
    )
    
    // TableType table type implements TableType interface
    type TableType struct {
    	SchemaValue  string
    	NameValue    string
    	TypeValue    string
    	CommentValue sql.NullString
    }
    
    // Schema returns the schema of the table.
    func (ct TableType) Schema() string {
    	return ct.SchemaValue
    }
    
    // Name returns the name of the table.
    func (ct TableType) Name() string {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri May 05 07:58:27 UTC 2023
    - 688 bytes
    - Viewed (0)
  7. docs/security/tls_configuration_history.md

    * **NEW:** TLSv1.3
    * TLSv1.2
    * TLSv1.1
    * TLSv1
    
    ##### COMPATIBLE_TLS versions
    
    * TLSv1
    
    [OkHttp 3.11][OkHttp311]
    ------------------------
    
    _2018-07-12_
    
    Added a new extra strict RESTRICTED_TLS configuration inspired by [Google Cloud’s similar policy][googlecloud_ssl_policy]. It is appropriate when both the host platform
    (JVM/Conscrypt/Android) and target webserver are current.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 9K bytes
    - Viewed (0)
  8. clause/select_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestSelect(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}},
    			"SELECT * FROM `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Select{
    				Columns: []clause.Column{clause.PrimaryColumn},
    			}, clause.From{}},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Feb 18 01:06:43 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. finisher_api.go

    		if _, ok := tx.Statement.Clauses["ON CONFLICT"]; !ok {
    			tx = tx.Clauses(clause.OnConflict{UpdateAll: true})
    		}
    		tx = tx.callbacks.Create().Execute(tx.Set("gorm:update_track_time", true))
    	case reflect.Struct:
    		if err := tx.Statement.Parse(value); err == nil && tx.Statement.Schema != nil {
    			for _, pf := range tx.Statement.Schema.PrimaryFields {
    				if _, isZero := pf.ValueOf(tx.Statement.Context, reflectValue); isZero {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  10. clause/from.go

    package clause
    
    // From from clause
    type From struct {
    	Tables []Table
    	Joins  []Join
    }
    
    // Name from clause name
    func (from From) Name() string {
    	return "FROM"
    }
    
    // Build build from clause
    func (from From) Build(builder Builder) {
    	if len(from.Tables) > 0 {
    		for idx, table := range from.Tables {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    
    			builder.WriteQuoted(table)
    		}
    	} else {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jul 15 02:25:10 UTC 2020
    - 630 bytes
    - Viewed (0)
Back to top