Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,604 for INTERFACE (0.22 sec)

  1. schema/schema.go

    	Relationships             Relationships
    	CreateClauses             []clause.Interface
    	QueryClauses              []clause.Interface
    	UpdateClauses             []clause.Interface
    	DeleteClauses             []clause.Interface
    	BeforeCreate, AfterCreate bool
    	BeforeUpdate, AfterUpdate bool
    	BeforeDelete, AfterDelete bool
    	BeforeSave, AfterSave     bool
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  2. gorm.go

    	if db != nil {
    		for _, plugin := range c.Plugins {
    			if err := plugin.Initialize(db); err != nil {
    				return err
    			}
    		}
    	}
    	return nil
    }
    
    // Option gorm option interface
    type Option interface {
    	Apply(*Config) error
    	AfterInitialize(*DB) error
    }
    
    // DB GORM DB definition
    type DB struct {
    	*Config
    	Error        error
    	RowsAffected int64
    	Statement    *Statement
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  3. callbacks/create.go

    		switch values := db.Statement.Dest.(type) {
    		case map[string]interface{}:
    			values[pkFieldName] = insertID
    		case *map[string]interface{}:
    			(*values)[pkFieldName] = insertID
    		case []map[string]interface{}, *[]map[string]interface{}:
    			mapValues, ok := values.([]map[string]interface{})
    			if !ok {
    				if v, ok := values.(*[]map[string]interface{}); ok {
    					if *v != nil {
    						mapValues = *v
    					}
    				}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. clause/returning_test.go

    )
    
    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,
    		}, {
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Returning{
    				[]clause.Column{clause.PrimaryColumn},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Jun 02 01:18:01 GMT 2020
    - 845 bytes
    - Viewed (0)
  5. clause/group_by_test.go

    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.GroupBy{
    				Columns: []clause.Column{{Name: "role"}},
    				Having:  []clause.Expression{clause.Eq{"role", "admin"}},
    			}},
    			"SELECT * FROM `users` GROUP BY `role` HAVING `role` = ?",
    			[]interface{}{"admin"},
    		},
    		{
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

        static class NewSuper {}
    
        static class NewBase extends NewSuper {}
    
        @Incubating
        static class NewIncubatingBase extends NewSuper {}
    
        @Incubating
        interface IncubatingInterface {}
    
        interface InternalInterface {}
    
        interface StablePublicInterface {}
    
        CtClass oldBase
        CtClass newBase
        CtClass newSuper
        CtClass newIncubatingBase
        CtClass internalInterface
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 4K bytes
    - Viewed (0)
  7. api/go1.8.txt

    pkg database/sql/driver, type RowsNextResultSet interface, NextResultSet() error
    pkg database/sql/driver, type RowsNextResultSet interface, Next([]Value) error
    pkg database/sql/driver, type StmtExecContext interface { ExecContext }
    pkg database/sql/driver, type StmtExecContext interface, ExecContext(context.Context, []NamedValue) (Result, error)
    pkg database/sql/driver, type StmtQueryContext interface { QueryContext }
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Dec 21 05:25:57 GMT 2016
    - 16.3K bytes
    - Viewed (0)
  8. clause/delete_test.go

    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestDelete(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Delete{}, clause.From{}},
    			"DELETE FROM `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Delete{Modifier: "LOW_PRIORITY"}, clause.From{}},
    			"DELETE LOW_PRIORITY FROM `users`", nil,
    		},
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Jun 02 01:18:01 GMT 2020
    - 608 bytes
    - Viewed (0)
  9. clause/values_test.go

    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{
    				clause.Insert{},
    				clause.Values{
    					Columns: []clause.Column{{Name: "name"}, {Name: "age"}},
    					Values:  [][]interface{}{{"jinzhu", 18}, {"josh", 1}},
    				},
    			},
    			"INSERT INTO `users` (`name`,`age`) VALUES (?,?),(?,?)",
    			[]interface{}{"jinzhu", 18, "josh", 1},
    		},
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 691 bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtDiagnosticConverter.kt

    import org.jetbrains.kotlin.analysis.api.fir.KtFirAnalysisSession
    import org.jetbrains.kotlin.diagnostics.*
    
    internal interface KtFirDiagnosticCreator
    
    internal fun interface KtFirDiagnostic0Creator : KtFirDiagnosticCreator {
        fun KtFirAnalysisSession.create(diagnostic: KtSimpleDiagnostic): KtFirDiagnostic<*>
    }
    
    internal fun interface KtFirDiagnostic1Creator<A> : KtFirDiagnosticCreator {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Feb 15 08:13:51 GMT 2023
    - 5.9K bytes
    - Viewed (0)
Back to top