Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for queryCS (0.19 sec)

  1. callbacks/query.go

    package callbacks
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    func Query(db *gorm.DB) {
    	if db.Error == nil {
    		BuildQuerySQL(db)
    
    		if !db.DryRun && db.Error == nil {
    			rows, err := db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    			if err != nil {
    				db.AddError(err)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:51:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. manifests/addons/dashboards/lib/queries.libsonnet

    local q = g.query.prometheus;
    
    local variables = import './variables.libsonnet';
    
    {
      queries(names):
        local containerLabels = 'container="%(container)s", pod=~"%(pod)s"' % names;
        local appLabels = 'app="%(app)s"' % names;
        local podLabels = 'pod=~"%(pod)s"' % names;
        {
          query(legend, query):
            q.new(
              '$' + variables.datasource.name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. manifests/addons/dashboards/lib/variables.libsonnet

      cluster:
        var.query.new('cluster')
        + var.query.withDatasourceFromVariable(self.datasource)
        + var.query.queryTypes.withLabelValues(
          'cluster',
          'process_cpu_seconds_total',
        )
        + var.query.withRefresh('time')
        + var.query.selectionOptions.withMulti()
        + var.query.selectionOptions.withIncludeAll(),
    
      pod:
        var.query.new('pod')
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. chainable_api.go

    func (db *DB) Joins(query string, args ...interface{}) (tx *DB) {
    	return joins(db, clause.LeftJoin, query, args...)
    }
    
    // InnerJoins specify inner joins conditions
    // db.InnerJoins("Account").Find(&user)
    func (db *DB) InnerJoins(query string, args ...interface{}) (tx *DB) {
    	return joins(db, clause.InnerJoin, query, args...)
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. tests/integration/telemetry/api/dashboard_test.go

    func checkMetric(cl cluster.Cluster, p prometheus.Instance, query string, excluded []string) error {
    	query = replacer.Replace(query)
    	value, _, err := p.APIForCluster(cl).QueryRange(context.Background(), query, promv1.Range{
    		Start: time.Now().Add(-time.Minute),
    		End:   time.Now(),
    		Step:  time.Second,
    	})
    	if err != nil {
    		return fmt.Errorf("failure executing query (%s): %v", query, err)
    	}
    	if value == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-multiple-params.md

    }
    ```
    
    Again, it will convert the data types, validate, document, etc.
    
    ## Multiple body params and query
    
    Of course, you can also declare additional query parameters whenever you need, additional to any body parameters.
    
    As, by default, singular values are interpreted as query parameters, you don't have to explicitly add a `Query`, you can just do:
    
    ```Python
    q: Union[str, None] = None
    ```
    
    Or in Python 3.10 and above:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 09 02:01:51 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modget/get.go

    		}
    	}
    	return nil, false
    }
    
    // queryModule wraps modload.Query, substituting r.checkAllowedOr to decide
    // allowed versions.
    func (r *resolver) queryModule(ctx context.Context, mPath, query string, selected func(string) string) (module.Version, error) {
    	current := r.initialSelected(mPath)
    	rev, err := modload.Query(ctx, mPath, query, current, r.checkAllowedOr(query, selected))
    	if err != nil {
    		return module.Version{}, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  8. samples/addons/jaeger.yaml

    metadata:
      name: tracing
      namespace: istio-system
      labels:
        app: jaeger
    spec:
      type: ClusterIP
      ports:
        - name: http-query
          port: 80
          protocol: TCP
          targetPort: 16686
        # Note: Change port name if you add '--query.grpc.tls.enabled=true'
        - name: grpc-query
          port: 16685
          protocol: TCP
          targetPort: 16685
      selector:
        app: jaeger
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. samples/addons/extras/zipkin.yaml

    spec:
      type: ClusterIP
      ports:
        - name: http-query
          port: 80
          protocol: TCP
          targetPort: 9411
      selector:
        app: zipkin
    ---
    apiVersion: v1
    kind: Service
    metadata:
      labels:
        name: zipkin
      name: zipkin
      namespace: istio-system
    spec:
      ports:
        - port: 9411
          targetPort: 9411
          name: http-query
      selector:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. cmd/bucket-listobjects-handlers.go

    		}
    	}
    	urlValues := r.Form
    
    	// Extract all the listBucketVersions query params to their native values.
    	prefix, marker, delimiter, maxkeys, encodingType, versionIDMarker, errCode := getListBucketObjectVersionsArgs(urlValues)
    	if errCode != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    		return
    	}
    
    	// Validate the query params before beginning to serve the request.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top