Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 240 for sql (0.01 seconds)

  1. tests/chainable_api_test.go

    	// write a simple placeholder
    	writer.WriteByte('?')
    }
    func (d testDialector) QuoteTo(writer clause.Writer, s string)         { writer.WriteString(s) }
    func (d testDialector) Explain(sql string, vars ...interface{}) string { return sql }
    
    // newTestDB returns a minimal *DB with an initialized Statement suitable for unit tests
    func newTestDB() *gorm.DB {
    	d := testDialector{}
    	cfg := &gorm.Config{Dialector: d}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Jan 31 08:39:40 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  2. internal/s3select/sql/errors.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package sql
    
    import "fmt"
    
    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  3. gorm.go

    			db.Statement.Result.Error = db.Error
    		}
    	}
    	return db.Error
    }
    
    // DB returns `*sql.DB`
    func (db *DB) DB() (*sql.DB, error) {
    	connPool := db.ConnPool
    	if db.Statement != nil && db.Statement.ConnPool != nil {
    		connPool = db.Statement.ConnPool
    	}
    	if tx, ok := connPool.(*sql.Tx); ok && tx != nil {
    		return (*sql.DB)(reflect.ValueOf(tx).Elem().FieldByName("db").UnsafePointer()), nil
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  4. docs/en/docs/project-generation.md

    - โšก [**FastAPI**](https://fastapi.tiangolo.com) for the Python backend API.
      - ๐Ÿงฐ [SQLModel](https://sqlmodel.tiangolo.com) for the Python SQL database interactions (ORM).
      - ๐Ÿ” [Pydantic](https://docs.pydantic.dev), used by FastAPI, for the data validation and settings management.
      - ๐Ÿ’พ [PostgreSQL](https://www.postgresql.org) as the SQL database.
    - ๐Ÿš€ [React](https://react.dev) for the frontend.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  5. README.md

    * Transactions, Nested Transactions, Save Point, RollbackTo to Saved Point
    * Context, Prepared Statement Mode, DryRun Mode
    * Batch Insert, FindInBatches, Find To Map
    * SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, NamedArg, Search/Update/Create with SQL Expr
    * Composite Primary Key
    * Auto Migrations
    * Logger
    * Extendable, flexible plugin API: Database Resolver (Multiple Databases, Read/Write Splitting) / Prometheusโ€ฆ
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Oct 30 09:30:20 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  6. internal/s3select/select_test.go

    			wantResult: `{"_1":-3}`,
    		},
    		// Examples from https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-glacier-select-sql-reference-date.html#s3-glacier-select-sql-reference-date-diff
    		{
    			name:       "date_diff_year",
    			query:      `SELECT date_diff(year, '2010-01-01T', '2011-01-01T') FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":1}`,
    		},
    		{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  7. callbacks.go

    	}
    
    	for _, f := range p.fns {
    		f(db)
    	}
    
    	if stmt.SQL.Len() > 0 {
    		db.Logger.Trace(stmt.Context, curTime, func() (string, int64) {
    			sql, vars := stmt.SQL.String(), stmt.Vars
    			if filter, ok := db.Logger.(ParamsFilter); ok {
    				sql, vars = filter.ParamsFilter(stmt.Context, stmt.SQL.String(), stmt.Vars...)
    			}
    			return db.Dialector.Explain(sql, vars...), db.RowsAffected
    		}, db.Error)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:26:07 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  8. docs/ko/docs/project-generation.md

    - โšก Python ๋ฐฑ์—”๋“œ API๋ฅผ ์œ„ํ•œ [**FastAPI**](https://fastapi.tiangolo.com/ko).
        - ๐Ÿงฐ Python SQL ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ƒํ˜ธ์ž‘์šฉ์„ ์œ„ํ•œ [SQLModel](https://sqlmodel.tiangolo.com) (ORM).
        - ๐Ÿ” FastAPI์— ์˜ํ•ด ์‚ฌ์šฉ๋˜๋Š”, ๋ฐ์ดํ„ฐ ๊ฒ€์ฆ๊ณผ ์„ค์ • ๊ด€๋ฆฌ๋ฅผ ์œ„ํ•œ [Pydantic](https://docs.pydantic.dev).
        - ๐Ÿ’พ SQL ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋กœ์„œ์˜ [PostgreSQL](https://www.postgresql.org).
    - ๐Ÿš€ ํ”„๋ก ํŠธ์—”๋“œ๋ฅผ ์œ„ํ•œ [React](https://react.dev).
        - ๐Ÿ’ƒ TypeScript, hooks, Vite ๋ฐ ๊ธฐํƒ€ ํ˜„๋Œ€์ ์ธ ํ”„๋ก ํŠธ์—”๋“œ ์Šคํƒ์„ ์‚ฌ์šฉ.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  9. api/go1.22.txt

    pkg crypto/x509, type OID struct #60665
    pkg database/sql, method (*Null[$0]) Scan(interface{}) error #60370
    pkg database/sql, method (Null[$0]) Value() (driver.Value, error) #60370
    pkg database/sql, type Null[$0 interface{}] struct #60370
    pkg database/sql, type Null[$0 interface{}] struct, V $0 #60370
    pkg database/sql, type Null[$0 interface{}] struct, Valid bool #60370
    pkg debug/elf, const R_LARCH_64_PCREL = 109 #63725
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  10. schema/serializer.go

    package schema
    
    import (
    	"bytes"
    	"context"
    	"database/sql"
    	"database/sql/driver"
    	"encoding/gob"
    	"encoding/json"
    	"fmt"
    	"math"
    	"reflect"
    	"strings"
    	"sync"
    	"time"
    )
    
    var serializerMap = sync.Map{}
    
    // RegisterSerializer register serializer
    func RegisterSerializer(name string, serializer SerializerInterface) {
    	serializerMap.Store(strings.ToLower(name), serializer)
    }
    
    // GetSerializer get serializer
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Oct 26 12:29:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top