Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Assignment (0.08 sec)

  1. clause/set.go

    	}
    	return assignments
    }
    
    func AssignmentColumns(values []string) Set {
    	assignments := make([]Assignment, len(values))
    	for idx, value := range values {
    		assignments[idx] = Assignment{Column: Column{Name: value}, Value: Column{Table: "excluded", Name: value}}
    	}
    	return assignments
    }
    
    // Assignments implements Assigner for a single Assignment.
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Sep 09 01:34:33 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. clause/set_test.go

    func TestAssignments(t *testing.T) {
    	set := clause.Assignments(map[string]interface{}{
    		"name": "jinzhu",
    		"age":  18,
    	})
    
    	assignments := []clause.Assignment(set)
    
    	sort.Slice(assignments, func(i, j int) bool {
    		return strings.Compare(assignments[i].Column.Name, assignments[j].Column.Name) > 0
    	})
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Sep 08 11:18:54 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. clause/association.go

    type AssociationAssigner interface {
    	AssociationAssignments() []Association
    }
    
    // Assignments implements the Assigner interface so that AssociationOperation can be used as a Set method parameter
    func (ao Association) Assignments() []Assignment {
    	return []Assignment{}
    }
    
    // AssociationAssignments implements the AssociationAssigner interface
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 05:42:26 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  4. callbacks/update.go

    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixNano()})
    						} else if field.AutoUpdateTime == schema.UnixMillisecond {
    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: now.UnixMilli()})
    						} else if field.AutoUpdateTime == schema.UnixSecond {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. tests/test_union_body_discriminator_annotated.py

            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/pet/assignment": {
                        "post": {
                            "summary": "Create Pet Assignment",
                            "operationId": "create_pet_assignment_pet_assignment_post",
                            "requestBody": {
                                "content": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * SES.schedule is called. Therefore Fire.run has to check for null. However, it should be visible
       * if Fire.run is called by delegate.addListener since addListener is called after the assignment
       * to timer, and importantly this is the main situation in which we need to be able to see the
       * write.
       *
       * 2. visibility of the writes to an afterDone() call triggered by cancel():
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

        /**
         * Test that getText throws exception when null stream is provided.
         * Note: validateInputStream throws the exception, so the validateCalled flag
         * is never set to true (exception is thrown before flag assignment).
         */
        public void test_getText_throwsExceptionForNullStream() {
            try {
                extractor.getText(null, null);
                fail("Expected CrawlerSystemException");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

    /**
     * API action for admin document management.
     * Provides RESTful API endpoints for bulk document operations in the Fess search engine.
     * Supports indexing multiple documents with automatic field validation and default value assignment.
     */
    public class ApiAdminDocumentsAction extends FessApiAdminAction {
    
        // ===================================================================================
        // Constant
        //
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/extra-models.md

    If it was in a type annotation we could have used the vertical bar, as:
    
    ```Python
    some_variable: PlaneItem | CarItem
    ```
    
    But if we put that in the assignment `response_model=PlaneItem | CarItem` we would get an error, because Python would try to perform an **invalid operation** between `PlaneItem` and `CarItem` instead of interpreting that as a type annotation.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

            private static final long serialVersionUID = 1L;
    
            /** User's group memberships. */
            protected volatile String[] groups;
    
            /** User's role assignments. */
            protected volatile String[] roles;
    
            /** User's computed permissions. */
            protected volatile String[] permissions;
    
            /** Entra ID authentication result. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top