Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 2,631 for breathe (0.1 seconds)

  1. tests/tests_test.go

    		}), cfg)
    	case "sqlserver":
    		// go install github.com/microsoft/go-sqlcmd/cmd/sqlcmd@latest
    		// SQLCMDPASSWORD=LoremIpsum86 sqlcmd -U sa -S localhost:9930
    		// CREATE DATABASE gorm;
    		// GO
    		// CREATE LOGIN gorm WITH PASSWORD = 'LoremIpsum86';
    		// CREATE USER gorm FROM LOGIN gorm;
    		// ALTER SERVER ROLE sysadmin ADD MEMBER [gorm];
    		// GO
    		log.Println("testing sqlserver...")
    		if dbDSN == "" {
    			dbDSN = sqlserverDSN
    		}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/sql-databases.md

    $ pip install sqlmodel
    ---> 100%
    ```
    
    </div>
    
    ## Crear o App com um Único Modelo { #create-the-app-with-a-single-model }
    
    Vamos criar a primeira versão mais simples do app com um único modelo **SQLModel**.
    
    Depois, vamos melhorá-lo aumentando a segurança e versatilidade com **múltiplos modelos** abaixo. 🤓
    
    ### Criar Modelos { #create-models }
    
    Importe o `SQLModel` e crie um modelo de banco de dados:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  3. tests/associations_belongs_to_test.go

    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestBelongsToAssociation(t *testing.T) {
    	user := *GetUser("belongs-to", Config{Company: true, Manager: true})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	pointerOfUser := &user2
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/TreeRangeSet.java

      public static <C extends Comparable<?>> TreeRangeSet<C> create() {
        return new TreeRangeSet<>(new TreeMap<Cut<C>, Range<C>>());
      }
    
      /** Returns a {@code TreeRangeSet} initialized with the ranges in the specified range set. */
      public static <C extends Comparable<?>> TreeRangeSet<C> create(RangeSet<C> rangeSet) {
        TreeRangeSet<C> result = create();
        result.addAll(rangeSet);
        return result;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java

        populate(table, data);
        return table;
      }
    
      public void testRowKeySetOrdering() {
        table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
        assertThat(table.rowKeySet()).containsExactly("foo", "bar").inOrder();
      }
    
      public void testRowOrdering() {
        table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
        assertThat(table.row("foo").keySet()).containsExactly(2, 3).inOrder();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

          };
        }
    
        static final QueryOp<Map<Object, Object>> MAP_GET =
            QueryOp.create(
                "Map.get",
                (map, key) -> {
                  Object unused = map.get(key);
                },
                Math::log);
    
        static final QueryOp<Set<Object>> SET_CONTAINS =
            QueryOp.create(
                "Set.contains",
                (set, key) -> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
  7. callbacks/associations.go

    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    func SaveBeforeAssociations(create bool) func(db *gorm.DB) {
    	return func(db *gorm.DB) {
    		if db.Error == nil && db.Statement.Schema != nil {
    			selectColumns, restricted := db.Statement.SelectAndOmitColumns(create, !create)
    
    			// Save Belongs To associations
    			for _, rel := range db.Statement.Schema.Relationships.BelongsTo {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Feb 13 06:16:26 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  8. tests/test_security_oauth2_optional.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    reusable_oauth2 = OAuth2(
        flows={
            "password": {
                "tokenUrl": "token",
                "scopes": {"read:users": "Read the users", "write:users": "Create users"},
            }
        },
        auto_error=False,
    )
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str | None = Security(reusable_oauth2)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

        @Test
        void bulkOperationsTest() {
            testBulkCreate();
            testBulkUpdate();
        }
    
        /**
         * Test: Bulk create documents
         */
        private void testBulkCreate() {
            logger.info("[BEGIN] testBulkCreate");
    
            // Create multiple documents in bulk
            final Map<String, Object> requestBody = new HashMap<>();
            final List<Map<String, Object>> documents = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        Object listener = new Object();
        ListenerCallQueue<Object> queue = new ListenerCallQueue<>();
        queue.addListener(listener, directExecutor());
    
        Multiset<Object> counters = ConcurrentHashMultiset.create();
        queue.enqueue(incrementingEvent(counters, listener, 1));
        queue.enqueue(incrementingEvent(counters, listener, 2));
        queue.enqueue(incrementingEvent(counters, listener, 3));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
Back to Top