Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 214 for Database (0.04 sec)

  1. tests/embedded_struct_test.go

    package tests_test
    
    import (
    	"database/sql/driver"
    	"encoding/json"
    	"errors"
    	"reflect"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestEmbeddedStruct(t *testing.T) {
    	type ReadOnly struct {
    		ReadOnly *bool
    	}
    
    	type BasePost struct {
    		Id    int64
    		Title string
    		URL   string
    		ReadOnly
    	}
    
    	type Author struct {
    		ID    string
    		Name  string
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. clause/expression_test.go

    package clause_test
    
    import (
    	"database/sql"
    	"fmt"
    	"reflect"
    	"sync"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    func TestExpr(t *testing.T) {
    	results := []struct {
    		SQL    string
    		Result string
    		Vars   []interface{}
    	}{{
    		SQL:    "create table ? (? ?, ? ?)",
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 10 05:34:33 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. statement.go

    package gorm
    
    import (
    	"context"
    	"database/sql"
    	"database/sql/driver"
    	"fmt"
    	"reflect"
    	"regexp"
    	"sort"
    	"strconv"
    	"strings"
    	"sync"
    
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    // Statement statement
    type Statement struct {
    	*DB
    	TableExpr            *clause.Expr
    	Table                string
    	Model                interface{}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/testing.md

    ///
    
    /// tip
    
    If you want to call `async` functions in your tests apart from sending requests to your FastAPI application (e.g. asynchronous database functions), have a look at the [Async Tests](../advanced/async-tests.md){.internal-link target=_blank} in the advanced tutorial.
    
    ///
    
    ## Separating tests { #separating-tests }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. schema/field.go

    package schema
    
    import (
    	"context"
    	"database/sql"
    	"database/sql/driver"
    	"fmt"
    	"reflect"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/jinzhu/now"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/utils"
    )
    
    // special types' reflect type
    var (
    	TimeReflectType    = reflect.TypeOf(time.Time{})
    	TimePtrReflectType = reflect.TypeOf(&time.Time{})
    	ByteReflectType    = reflect.TypeOf(uint8(0))
    )
    
    type (
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/JobHelper.java

                    .selectByPK(id)
                    .filter(e -> Boolean.TRUE.equals(e.getAvailable()))
                    .isPresent();
        }
    
        /**
         * Stores a job log entry in the database.
         *
         * @param jobLog the job log entry to store
         */
        public void store(final JobLog jobLog) {
            ComponentUtil.getComponent(JobLogBhv.class).insertOrUpdate(jobLog, op -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/index.md

    You will see examples of this in the next chapters, about relational and NoSQL databases, security, etc.
    
    ## **FastAPI** compatibility { #fastapi-compatibility }
    
    The simplicity of the dependency injection system makes **FastAPI** compatible with:
    
    * all the relational databases
    * NoSQL databases
    * external packages
    * external APIs
    * authentication and authorization systems
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/extra-models.md

    This is especially the case for user models, because:
    
    * The **input model** needs to be able to have a password.
    * The **output model** should not have a password.
    * The **database model** would probably need to have a hashed password.
    
    /// danger
    
    Never store user's plaintext passwords. Always store a "secure hash" that you can then verify.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                // Do nothing to avoid container access
            }
    
            @Override
            protected void storeQueue(List<Tuple3<String, String, String>> taskList) {
                // Override to avoid database operations
                taskList.clear();
            }
    
            @Override
            protected String getImageFilename(final Map<String, Object> docMap) {
                // Override to avoid null pointer issues
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  10. docs/zh-CN/README.md

     - [Confluence/Jira](https://github.com/codelibs/fess-ds-atlassian)
     - [Box](https://github.com/codelibs/fess-ds-box)
     - [CSV](https://github.com/codelibs/fess-ds-csv)
     - [Database](https://github.com/codelibs/fess-ds-db)
     - [Dropbox](https://github.com/codelibs/fess-ds-dropbox)
     - [Elasticsearch](https://github.com/codelibs/fess-ds-elasticsearch)
     - [Git](https://github.com/codelibs/fess-ds-git)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top