Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 280 for Tage (0.21 sec)

  1. clause/where_test.go

    			}},
    			"SELECT * FROM `users` WHERE `age` = ? OR `name` <> ?",
    			[]interface{}{18, "jinzhu"},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Where{
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. tests/update_test.go

    	if err := DB.Model(&results[1]).Clauses(clause.Returning{Columns: []clause.Column{{Name: "age"}}}).Updates(map[string]interface{}{"age": gorm.Expr("age + ?", 100)}).Error; err != nil {
    		t.Errorf("Not error should happen when updating with gorm expr, but got %v", err)
    	}
    
    	if results[1].Age-results[0].Age != 100 {
    		t.Errorf("failed to return updated age column")
    	}
    }
    
    func TestUpdateWithDiffSchema(t *testing.T) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

    public class VirtualHostHelper {
    
        public HtmlNext getVirtualHostPath(final HtmlNext page) {
            return processVirtualHost(s -> {
                final String basePath = getVirtualHostBasePath(s, page);
                return new HtmlNext(basePath + page.getRoutingPath());
            }, page);
        }
    
        protected String getVirtualHostBasePath(final String s, final HtmlNext page) {
            return StringUtil.isBlank(s) ? StringUtil.EMPTY : "/" + s;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. chainable_api.go

    // Select accepts both string arguments and arrays.
    //
    //	// Select name and age of user using multiple arguments
    //	db.Select("name", "age").Find(&users)
    //	// Select name and age of user using an array
    //	db.Select([]string{"name", "age"}).Find(&users)
    func (db *DB) Select(query interface{}, args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    
    	switch v := query.(type) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  5. callbacks/create_test.go

    		Name  string
    		Email string `gorm:"default:(-)"`
    		Age   int    `gorm:"default:(-)"`
    	}
    
    	s, err := schema.Parse(&user{}, schemaCache, schema.NamingStrategy{})
    	if err != nil {
    		t.Errorf("parse schema error: %v, is not expected", err)
    		return
    	}
    	dest := []*user{
    		{
    			ID:    1,
    			Name:  "alice",
    			Email: "email",
    			Age:   18,
    		},
    		{
    			ID:    2,
    			Name:  "bob",
    			Email: "email",
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 05:48:42 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/BaseSearchBody.java

        public Integer page = Constants.DEFAULT_ADMIN_PAGE_NUMBER;
    
        public int getPageSize() {
            if (size != null) {
                return size;
            }
            return ComponentUtil.getFessConfig().getPagingPageSizeAsInteger();
        }
    
        public int getCurrentPageNumber() {
            if (page != null) {
                return page;
            }
            return Constants.DEFAULT_ADMIN_PAGE_NUMBER;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        String PAGE_USER_MAX_FETCH_SIZE = "page.user.max.fetch.size";
    
        /** The key of the configuration. e.g. 1000 */
        String PAGE_ROLE_MAX_FETCH_SIZE = "page.role.max.fetch.size";
    
        /** The key of the configuration. e.g. 1000 */
        String PAGE_GROUP_MAX_FETCH_SIZE = "page.group.max.fetch.size";
    
        /** The key of the configuration. e.g. 100 */
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 459.2K bytes
    - Viewed (5)
  8. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

            assertEscapePattern("^\\Qhttp://\\E.*", "^http://");
            assertEscapePattern(".*\\Qindex.html\\E$", "index.html$");
            assertEscapePattern("^\\Qhttp://www.codelibs.org/page.html\\E$", "^http://www.codelibs.org/page.html$");
            assertEscapePattern("\\Qhttp://www.codelibs.org/\\E.*", "http://www.codelibs.org/");
            assertEscapePattern("\\Qsmb://server/test/\\E.*", "smb://server/test/");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                    if (resultsPerPage instanceof Integer) {
                        form.num = (Integer) resultsPerPage;
                    }
                }
            }
    
            if (StringUtil.isBlank(form.q) && form.fields.isEmpty() && !form.hasConditionQuery()) {
                // redirect to index page
                form.q = null;
                return redirectToRoot();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/custom-docs-ui-assets.md

    Now you can create the *path operations* for the custom docs.
    
    You can re-use FastAPI's internal functions to create the HTML pages for the docs, and pass them the needed arguments:
    
    * `openapi_url`: the URL where the HTML page for the docs can get the OpenAPI schema for your API. You can use here the attribute `app.openapi_url`.
    * `title`: the title of your API.
    * `oauth2_redirect_url`: you can use `app.swagger_ui_oauth2_redirect_url` here to use the default.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
Back to top