Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for created_at (0.1 sec)

  1. tests/query_test.go

    	if err := DB.Model(User{}).Where("name like ?", "pluck-user%").Pluck("created_at", &times).Error; err != nil {
    		t.Errorf("got error when pluck time: %v", err)
    	}
    
    	for idx, tv := range times {
    		AssertEqual(t, tv, users[idx].CreatedAt)
    	}
    
    	var ptrtimes []*time.Time
    	if err := DB.Model(User{}).Where("name like ?", "pluck-user%").Pluck("created_at", &ptrtimes).Error; err != nil {
    		t.Errorf("got error when pluck time: %v", err)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    				if err != nil {
    					return nil, err
    				}
    				if !opts.NoMetadata {
    					for i := range buckets {
    						createdAt, err := globalBucketMetadataSys.CreatedAt(buckets[i].Name)
    						if err == nil {
    							buckets[i].Created = createdAt
    						}
    					}
    				}
    				return buckets, nil
    			},
    		)
    
    		return listBucketsCache.GetWithCtx(ctx)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  3. .teamcity/.mvn/wrapper/maven-wrapper.jar

    synchronized class Installer { public static final String DEFAULT_DISTRIBUTION_PATH = wrapper/dists; private final Downloader download; private final PathAssembler pathAssembler; public void Installer(Downloader, PathAssembler); public java.io.File createDist(WrapperConfiguration) throws Exception; private java.util.List listDirs(java.io.File); private void setExecutablePermiss(java.io.File); private boolean isWindows(); private boolean deleteDir(java.io.File); public void unzip(java.io.File, java.io.File)...
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 49.5K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    type PolicyDoc struct {
    	Version    int `json:",omitempty"`
    	Policy     policy.Policy
    	CreateDate time.Time `json:",omitempty"`
    	UpdateDate time.Time `json:",omitempty"`
    }
    
    func newPolicyDoc(p policy.Policy) PolicyDoc {
    	now := UTCNow().Round(time.Millisecond)
    	return PolicyDoc{
    		Version:    1,
    		Policy:     p,
    		CreateDate: now,
    		UpdateDate: now,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  5. cmd/iam.go

    		return nil, err
    	}
    
    	pdata, err := json.Marshal(d.Policy)
    	if err != nil {
    		return nil, err
    	}
    
    	return &madmin.PolicyInfo{
    		PolicyName: policyName,
    		Policy:     pdata,
    		CreateDate: d.CreateDate,
    		UpdateDate: d.UpdateDate,
    	}, nil
    }
    
    // ListPolicies - lists all canned policies.
    func (sys *IAMSys) ListPolicies(ctx context.Context, bucketName string) (map[string]policy.Policy, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top