Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 199 for SQL (0.02 sec)

  1. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

                return (java.sql.Date) src;
            }
            if (src instanceof Date) {
                return new java.sql.Date(((Date) src).getTime());
            }
            if (src instanceof Calendar) {
                return new java.sql.Date(((Calendar) src).getTimeInMillis());
            }
            final String str = src.toString();
            if (isEmpty(str)) {
                return null;
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. internal/s3select/parquet/reader.go

    	fr, err := parquetgo.NewFileReader(rsc)
    	if err != nil {
    		return nil, errParquetParsingError(err)
    	}
    
    	return &Reader{Closer: rsc, r: fr}, nil
    }
    
    func (pr *Reader) Read(dst sql.Record) (rec sql.Record, rerr error) {
    	nextRow, err := pr.r.NextRow()
    	if err != nil {
    		if err == io.EOF {
    			return nil, err
    		}
    		return nil, errParquetParsingError(err)
    	}
    
    	kvs := jstream.KVS{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. interfaces.go

    }
    
    // TxCommitter tx committer
    type TxCommitter interface {
    	Commit() error
    	Rollback() error
    }
    
    // Tx sql.Tx interface
    type Tx interface {
    	ConnPool
    	TxCommitter
    	StmtContext(ctx context.Context, stmt *sql.Stmt) *sql.Stmt
    }
    
    // Valuer gorm valuer interface
    type Valuer interface {
    	GormValue(context.Context, *DB) clause.Expr
    }
    
    // GetDBConnector SQL db connector
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Aug 19 13:33:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. scan.go

    		}
    	case *int, *int8, *int16, *int32, *int64,
    		*uint, *uint8, *uint16, *uint32, *uint64, *uintptr,
    		*float32, *float64,
    		*bool, *string, *time.Time,
    		*sql.NullInt32, *sql.NullInt64, *sql.NullFloat64,
    		*sql.NullBool, *sql.NullString, *sql.NullTime:
    		for initialized || rows.Next() {
    			initialized = false
    			db.RowsAffected++
    			db.AddError(rows.Scan(dest))
    		}
    	default:
    		var (
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. dbflute_fess/dfprop/littleAdjustmentMap.dfprop

        #   [true]
        #     Table names on SQL executed by condition-bean or behavior
        #     are forcedly treated as upper case. (except outside-SQL)
        #
        #; isTableSqlNameUpperCase = false
        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o isColumnSqlNameUpperCase: (NotRequired - Default false)
        #   [true]
        #     Column names on SQL executed by condition-bean or behavior
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 8.8K bytes
    - Viewed (0)
  6. dbflute_fess/dfprop/outsideSqlMap.dfprop

        #  The package of SQL file for outsideSql.
        #  This is basically for narrowing SQL-searching target,
        #  for example, when the project has SQL files for other framework.
        #  So basically you don't need this.
        #
        #  You can use variable '$$PACKAGE_BASE$$' that means 'packageBase'.
        #  But you need to make SQL files at 'exbhv' under the set package
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 8K bytes
    - Viewed (0)
  7. soft_delete.go

    package gorm
    
    import (
    	"database/sql"
    	"database/sql/driver"
    	"encoding/json"
    	"reflect"
    
    	"github.com/jinzhu/now"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    )
    
    type DeletedAt sql.NullTime
    
    // Scan implements the Scanner interface.
    func (n *DeletedAt) Scan(value interface{}) error {
    	return (*sql.NullTime)(n).Scan(value)
    }
    
    // Value implements the driver Valuer interface.
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 4.5K bytes
    - Viewed (1)
  8. finisher_api.go

    		db.AddError(ErrUnsupportedDriver)
    	}
    	return db
    }
    
    // Exec executes raw sql
    func (db *DB) Exec(sql string, values ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.SQL = strings.Builder{}
    
    	if strings.Contains(sql, "@") {
    		clause.NamedExpr{SQL: sql, Vars: values}.Build(tx.Statement)
    	} else {
    		clause.Expr{SQL: sql, Vars: values}.Build(tx.Statement)
    	}
    
    	return tx.callbacks.Raw().Execute(tx)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

        public void testToSqlDate_ShortStyle() throws Exception {
            final java.sql.Date date = toSqlDate("10/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToSqlDate_MediumStyle() throws Exception {
            final java.sql.Date date = toSqlDate("2010/9/7");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. dbflute_fess/playsql/_readme.txt

    Directory for ReplaceSchema task
    
    replace-schema-*.sql:
    DDL statements for creation of your schema.
    You should write your own DDL statements in this file.
    (A SQL separator is semicolon ";")
    
    take-finally-*.sql:
    SQL statements for check loaded data (or DDL after data loading)
    You should write your own SQL statements in this file.
    (basically same specifications as replace-schema.sql)
    
    The "data" directory is for data loading like this:
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 1.3K bytes
    - Viewed (0)
Back to top