Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 30 for isSqlite (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/es/docs/tutorial/sql-databases.md

    * PostgreSQL
    * MySQL
    * SQLite
    * Oracle
    * Microsoft SQL Server, etc.
    
    En este ejemplo, usaremos **SQLite**, porque utiliza un solo archivo y Python tiene soporte integrado. Así que puedes copiar este ejemplo y ejecutarlo tal cual.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 17K bytes
    - Click Count (0)
  2. tests/table_test.go

    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Create(&UserWithTable{}).Statement
    	if DB.Dialector.Name() != "sqlite" {
    		if !regexp.MustCompile(`INSERT INTO .gorm.\..user. (.*name.*) VALUES (.*)`).MatchString(r.Statement.SQL.String()) {
    			t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    		}
    	} else {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  3. tests/update_test.go

    		t.Errorf("failed to find created record, got error: %v, result: %+v", err, result4)
    	}
    }
    
    // only sqlite, postgres, gaussdb, sqlserver support returning
    func TestUpdateReturning(t *testing.T) {
    	if DB.Dialector.Name() != "sqlite" && DB.Dialector.Name() != "postgres" && DB.Dialector.Name() != "gaussdb" && DB.Dialector.Name() != "sqlserver" {
    		return
    	}
    
    	users := []*User{
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            warnings.simplefilter("always")
            mod = importlib.import_module(f"docs_src.sql_databases.{request.param}")
            clear_sqlmodel()
            importlib.reload(mod)
        mod.sqlite_url = "sqlite://"
        mod.engine = create_engine(
            mod.sqlite_url, connect_args={"check_same_thread": False}, poolclass=StaticPool
        )
    
        with TestClient(mod.app) as c:
            yield c
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  5. tests/embedded_struct_test.go

    	type AdvancedUser struct {
    		EmbUser  `gorm:"embedded"`
    		Advanced bool
    	}
    
    	DB.Migrator().DropTable(&AdvancedUser{})
    
    	if err := DB.AutoMigrate(&AdvancedUser{}); err != nil {
    		if DB.Dialector.Name() != "sqlite" {
    			t.Errorf("Failed to auto migrate advanced user, got error %v", err)
    		}
    	}
    }
    
    func TestEmbeddedTagSetting(t *testing.T) {
    	type Tag1 struct {
    		Id int64 `gorm:"autoIncrement"`
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed May 08 04:07:58 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  6. tests/migrate_test.go

    		t.Fatalf("Found deleted column")
    	}
    }
    
    func TestMigrateColumns(t *testing.T) {
    	tidbSkip(t, "use another test case")
    
    	sqlite := DB.Dialector.Name() == "sqlite"
    	sqlserver := DB.Dialector.Name() == "sqlserver"
    
    	type ColumnStruct struct {
    		gorm.Model
    		Name  string
    		Age   int    `gorm:"default:18;comment:my age"`
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Aug 20 04:51:17 GMT 2025
    - 65.2K bytes
    - Click Count (0)
  7. tests/preload_suits_test.go

    		t.Errorf("got %s; want %s", toJSONString(got), toJSONString(want))
    	}
    }
    
    func TestManyToManyPreloadWithMultiPrimaryKeys(t *testing.T) {
    	if name := DB.Dialector.Name(); name == "sqlite" || name == "sqlserver" {
    		t.Skip("skip sqlite, sqlserver due to it doesn't support multiple primary keys with auto increment")
    	}
    
    	if name := DB.Dialector.Name(); name == "mysql" {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jun 05 11:34:13 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  8. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        </magic>
        <glob pattern="*.tzx"/>
      </mime-type>
    
      <mime-type type="application/x-sqlite3">
        <!--sqlite subtypes are from: https://www.sqlite.org/src/artifact?ci=trunk&filename=magic.txt -->
        <magic priority="50">
          <match value="SQLite format 3\x00" type="string" offset="0"/>
        </magic>
      </mime-type>
      <!-- geo package >= 1.2.x -->
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Oct 16 07:46:32 GMT 2025
    - 320.2K bytes
    - Click Count (5)
  9. tests/query_test.go

    							t.Errorf("invalid data type for %v, got %v %#v", dbName, resultType, first[dbName])
    						}
    					case "Birthday":
    						if !strings.Contains(resultType, "Time") && !(DB.Dialector.Name() == "sqlite" && strings.Contains(resultType, "string")) {
    							t.Errorf("invalid data type for %v, got %v %#v", dbName, resultType, first[dbName])
    						}
    					}
    
    					reflectValue := reflect.Indirect(reflect.ValueOf(users[0]))
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
  10. RELEASE.md

    # Release 1.12.3
    
    ## Bug Fixes and Other Changes
    
    *   Updates `png_archive` dependency to 1.6.37 to not be affected by
        CVE-2019-7317, CVE-2018-13785, and CVE-2018-14048.
    *   Updates `sqlite` dependency to 3.28.0 to not be affected by CVE-2018-20506,
        CVE-2018-20346, and CVE-2018-20505.
    
    # Release 1.12.2
    
    ## Bug Fixes and Other Changes
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Tue Oct 28 22:27:41 GMT 2025
    - 740.4K bytes
    - Click Count (3)
Back to Top