Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 502 for tablett (0.18 sec)

  1. docs/en/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[25:30]  hl[25:27,30] *}
    
    ### Create Database Tables on Startup
    
    We will create the database tables when the application starts.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[32:37] hl[35:37] *}
    
    Here we create the tables on an application startup event.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. tests/create_test.go

    func TestCreateFromMapWithTable(t *testing.T) {
    	tableDB := DB.Table("users")
    	supportLastInsertID := isMysql() || isSqlite()
    
    	// case 1: create from map[string]interface{}
    	record := map[string]interface{}{"name": "create_from_map_with_table", "age": 18}
    	if err := tableDB.Create(record).Error; err != nil {
    		t.Fatalf("failed to create data from map with table, got error: %v", err)
    	}
    
    	if _, ok := record["@id"]; !ok && supportLastInsertID {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  3. schema/schema.go

    	modelValue := reflect.New(modelType)
    	tableName := namer.TableName(modelType.Name())
    	if tabler, ok := modelValue.Interface().(Tabler); ok {
    		tableName = tabler.TableName()
    	}
    	if tabler, ok := modelValue.Interface().(TablerWithNamer); ok {
    		tableName = tabler.TableName(namer)
    	}
    	if en, ok := namer.(embeddedNamer); ok {
    		tableName = en.Table
    	}
    	if specialTableName != "" && specialTableName != tableName {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowTest.java

      }
    
      @Override
      Table<Character, String, Integer> makeTable() {
        RowSortedTable<Character, String, Integer> table = TreeBasedTable.create();
        return unmodifiableRowSortedTable(table);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        RowSortedTable<Character, String, Integer> table = TreeBasedTable.create();
        table.put('a', "one", 1);
        table.put('a', "two", 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/UnmodifiableTableRowMapTest.java

      }
    
      @Override
      Table<String, Integer, Character> makeTable() {
        Table<String, Integer, Character> original = HashBasedTable.create();
        return unmodifiableTable(original);
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        Table<String, Integer, Character> table = HashBasedTable.create();
        table.put("foo", 1, 'a');
        table.put("bar", 1, 'b');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/UnmodifiableTableColumnMapTest.java

      }
    
      @Override
      Table<Integer, String, Character> makeTable() {
        Table<Integer, String, Character> original = HashBasedTable.create();
        return unmodifiableTable(original);
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        Table<Integer, String, Character> table = HashBasedTable.create();
        table.put(1, "foo", 'a');
        table.put(1, "bar", 'b');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TablesTransformValuesRowMapTest.java

      }
    
      @Override
      Table<String, Integer, Character> makeTable() {
        Table<String, Integer, String> original = HashBasedTable.create();
        return transformValues(original, TableCollectionTest.FIRST_CHARACTER);
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        Table<String, Integer, String> table = HashBasedTable.create();
        table.put("foo", 1, "apple");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. callbacks/query.go

    										Column: clause.Column{Table: parentTableName, Name: ref.PrimaryKey.DBName},
    										Value:  clause.Column{Table: tableAliasName, Name: ref.ForeignKey.DBName},
    									}
    								} else {
    									if ref.PrimaryValue == "" {
    										exprs[idx] = clause.Eq{
    											Column: clause.Column{Table: parentTableName, Name: ref.ForeignKey.DBName},
    											Value:  clause.Column{Table: tableAliasName, Name: ref.PrimaryKey.DBName},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableColumnMapTest.java

      }
    
      @Override
      Table<Integer, String, Character> makeTable() {
        RowSortedTable<Integer, String, Character> original = TreeBasedTable.create();
        return unmodifiableRowSortedTable(original);
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        RowSortedTable<Integer, String, Character> table = TreeBasedTable.create();
        table.put(1, "foo", 'a');
        table.put(1, "bar", 'b');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowMapTest.java

      }
    
      @Override
      protected SortedMap<String, Map<Integer, Character>> makePopulatedMap() {
        RowSortedTable<String, Integer, Character> table = TreeBasedTable.create();
        table.put("foo", 1, 'a');
        table.put("bar", 1, 'b');
        table.put("foo", 3, 'c');
        return unmodifiableRowSortedTable(table).rowMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top