Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 199 for sql (0.01 sec)

  1. callbacks/delete.go

    			return
    		}
    
    		if db.Statement.Schema != nil {
    			for _, c := range db.Statement.Schema.DeleteClauses {
    				db.Statement.AddClause(c)
    			}
    		}
    
    		if db.Statement.SQL.Len() == 0 {
    			db.Statement.SQL.Grow(100)
    			db.Statement.AddClauseIfNotExists(clause.Delete{})
    
    			if db.Statement.Schema != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Feb 25 02:48:23 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  2. internal/s3select/json/reader.go

    type Reader struct {
    	args       *ReaderArgs
    	decoder    *jstream.Decoder
    	valueCh    chan *jstream.MetaValue
    	readCloser io.ReadCloser
    }
    
    // Read - reads single record.
    func (r *Reader) Read(dst sql.Record) (sql.Record, error) {
    	v, ok := <-r.valueCh
    	if !ok {
    		if err := r.decoder.Err(); err != nil {
    			return nil, errJSONParsingError(err)
    		}
    		return nil, io.EOF
    	}
    
    	var kvs jstream.KVS
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. schema/model_test.go

    	Active    *bool
    }
    
    type (
    	mytime time.Time
    	myint  int
    	mybool = bool
    )
    
    type AdvancedDataTypeUser struct {
    	ID           sql.NullInt64
    	Name         *sql.NullString
    	Birthday     sql.NullTime
    	RegisteredAt mytime
    	DeletedAt    *mytime
    	Active       mybool
    	Admin        *mybool
    }
    
    type BaseModel struct {
    	ID        uint
    	CreatedAt time.Time
    	CreatedBy *int
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.sql;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    
    import org.codelibs.core.exception.SQLRuntimeException;
    
    /**
     * {@link PreparedStatement}用のユーティリティクラスです。
     *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. tests/preload_suits_test.go

    		Level4 struct {
    			ID uint
    		}
    		Level3 struct {
    			ID       uint
    			Level4ID sql.NullInt64 `sql:"index"`
    			Level4   *Level4
    		}
    		Level2 struct {
    			ID      uint
    			Level3s []*Level3 `gorm:"many2many:level2_level3s"`
    		}
    		Level1 struct {
    			ID       uint
    			Level2ID sql.NullInt64 `sql:"index"`
    			Level2   *Level2
    		}
    	)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  6. callbacks/update.go

    		if db.Error != nil {
    			return
    		}
    
    		if db.Statement.Schema != nil {
    			for _, c := range db.Statement.Schema.UpdateClauses {
    				db.Statement.AddClause(c)
    			}
    		}
    
    		if db.Statement.SQL.Len() == 0 {
    			db.Statement.SQL.Grow(180)
    			db.Statement.AddClauseIfNotExists(clause.Update{})
    			if _, ok := db.Statement.Clauses["SET"]; !ok {
    				if set := ConvertToAssignments(db.Statement); len(set) != 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. internal/s3select/sql/parser.go

    	ArgsList []*Expression `parser:"\"(\" (@@ (\",\" @@)*)?\")\""`
    }
    
    // CountFunc represents the COUNT sql function
    type CountFunc struct {
    	StarArg bool        `parser:" \"COUNT\" \"(\" ( @\"*\"?"`
    	ExprArg *Expression `parser:" @@? )! \")\""`
    }
    
    // CastFunc represents CAST sql function
    type CastFunc struct {
    	Expr     *Expression `parser:" \"CAST\" \"(\" @@ "`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/testing-database.md

    # Testing a Database
    
    You can study about databases, SQL, and SQLModel in the <a href="https://sqlmodel.tiangolo.com/" class="external-link" target="_blank">SQLModel docs</a>. 🤓
    
    There's a mini <a href="https://sqlmodel.tiangolo.com/tutorial/fastapi/" class="external-link" target="_blank">tutorial on using SQLModel with FastAPI</a>. ✨
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 516 bytes
    - Viewed (0)
  9. docs/en/docs/project-generation.md

        - 🧰 [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.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 04 11:16:34 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. docs/es/docs/project-generation.md

        - 🧰 [SQLModel](https://sqlmodel.tiangolo.com) para las interacciones con la base de datos SQL en Python (ORM).
        - 🔍 [Pydantic](https://docs.pydantic.dev), utilizado por FastAPI, para la validación de datos y la gestión de configuraciones.
        - 💾 [PostgreSQL](https://www.postgresql.org) como la base de datos SQL.
    - 🚀 [React](https://react.dev) para el frontend.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 04 11:16:34 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top