Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,058 for WHERE (0.29 sec)

  1. android/guava/src/com/google/common/reflect/TypeParameter.java

    import javax.annotation.CheckForNull;
    
    /**
     * Captures a free type variable that can be used in {@link TypeToken#where}. For example:
     *
     * <pre>{@code
     * static <T> TypeToken<List<T>> listOf(Class<T> elementType) {
     *   return new TypeToken<List<T>>() {}
     *       .where(new TypeParameter<T>() {}, elementType);
     * }
     * }</pre>
     *
     * @author Ben Yu
     * @since 12.0
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  2. clause/returning.go

    package clause
    
    type Returning struct {
    	Columns []Column
    }
    
    // Name where clause name
    func (returning Returning) Name() string {
    	return "RETURNING"
    }
    
    // Build build where clause
    func (returning Returning) Build(builder Builder) {
    	if len(returning.Columns) > 0 {
    		for idx, column := range returning.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    
    			builder.WriteQuoted(column)
    		}
    	} else {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Oct 27 23:56:55 GMT 2021
    - 681 bytes
    - Viewed (0)
  3. callbacks/delete.go

    				for _, cond := range queryConds {
    					if c, ok := cond.(clause.IN); ok && len(c.Values) == 0 {
    						withoutConditions = true
    						break
    					}
    				}
    
    				if !withoutConditions && db.AddError(tx.Clauses(clause.Where{Exprs: queryConds}).Delete(modelValue).Error) != nil {
    					return
    				}
    			case schema.Many2Many:
    				var (
    					queryConds     = make([]clause.Expression, 0, len(rel.References))
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Feb 25 02:48:23 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

     */
    package org.apache.maven.api.services.xml;
    
    public interface Location {
    
        /**
         * Return the line number where the current event ends,
         * returns -1 if none is available.
         * @return the current line number
         */
        int getLineNumber();
    
        /**
         * Return the column number where the current event ends,
         * returns -1 if none is available.
         * @return the current column number
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. statement.go

    		case *DB:
    			v.executeScopes()
    
    			if cs, ok := v.Statement.Clauses["WHERE"]; ok {
    				if where, ok := cs.Expression.(clause.Where); ok {
    					if len(where.Exprs) == 1 {
    						if orConds, ok := where.Exprs[0].(clause.OrConditions); ok {
    							where.Exprs[0] = clause.AndConditions(orConds)
    						}
    					}
    					conds = append(conds, clause.And(where.Exprs...))
    				} else if cs.Expression != nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/conditional-openapi.md

    * Implement and use well-known cryptographic tools, like Passlib and JWT tokens, etc.
    * Add more granular permission controls with OAuth2 scopes where needed.
    * ...etc.
    
    Nevertheless, you might have a very specific use case where you really need to disable the API docs for some environment (e.g. for production) or depending on configurations from environment variables.
    
    ## Conditional OpenAPI from settings and env vars
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/custom-docs-ui-assets.md

    * `openapi_url`: the URL where the HTML page for the docs can get the OpenAPI schema for your API. You can use here the attribute `app.openapi_url`.
    * `title`: the title of your API.
    * `oauth2_redirect_url`: you can use `app.swagger_ui_oauth2_redirect_url` here to use the default.
    * `swagger_js_url`: the URL where the HTML for your Swagger UI docs can get the **JavaScript** file. This is the custom CDN URL.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  8. clause/order_by.go

    	Column  Column
    	Desc    bool
    	Reorder bool
    }
    
    type OrderBy struct {
    	Columns    []OrderByColumn
    	Expression Expression
    }
    
    // Name where clause name
    func (orderBy OrderBy) Name() string {
    	return "ORDER BY"
    }
    
    // Build build where clause
    func (orderBy OrderBy) Build(builder Builder) {
    	if orderBy.Expression != nil {
    		orderBy.Expression.Build(builder)
    	} else {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Nov 03 02:30:05 GMT 2020
    - 1.1K bytes
    - Viewed (0)
  9. tests/update_test.go

    		}
    		lastUpdatedAt = n
    	}
    
    	checkOtherData := func(name string) {
    		var first, last User
    		if err := DB.Where("id = ?", users[0].ID).First(&first).Error; err != nil {
    			t.Errorf("errors happened when query before user: %v", err)
    		}
    		CheckUser(t, first, *users[0])
    
    		if err := DB.Where("id = ?", users[2].ID).First(&last).Error; err != nil {
    			t.Errorf("errors happened when query after user: %v", err)
    		}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  10. clause/limit.go

    package clause
    
    // Limit limit clause
    type Limit struct {
    	Limit  *int
    	Offset int
    }
    
    // Name where clause name
    func (limit Limit) Name() string {
    	return "LIMIT"
    }
    
    // Build build where clause
    func (limit Limit) Build(builder Builder) {
    	if limit.Limit != nil && *limit.Limit >= 0 {
    		builder.WriteString("LIMIT ")
    		builder.AddVar(builder, *limit.Limit)
    	}
    	if limit.Offset > 0 {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Feb 06 02:54:40 GMT 2024
    - 942 bytes
    - Viewed (0)
Back to top