Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FromTimestamp (0.26 sec)

  1. internal/s3select/sql/funceval.go

    	if !ok {
    		return nil, fmt.Errorf("%s() expects two timestamp arguments", sqlFnDateDiff)
    	}
    
    	return dateDiff(strings.ToUpper(d.DatePart), ts1, ts2)
    }
    
    func handleUTCNow() (*Value, error) {
    	return FromTimestamp(time.Now().UTC()), nil
    }
    
    func handleSQLSubstring(r Record, e *SubstringFunc, tableAlias string) (val *Value, err error) {
    	// Both forms `SUBSTRING('abc' FROM 2 FOR 1)` and
    	// SUBSTRING('abc', 2, 1) are supported.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
Back to top