- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 833 for Bool (0.09 sec)
-
utils/tests/models.go
Company Company ManagerID *uint Manager *User Team []User `gorm:"foreignkey:ManagerID"` Languages []Language `gorm:"many2many:UserSpeak;"` Friends []*User `gorm:"many2many:user_friends;"` Active bool } type Account struct { gorm.Model UserID sql.NullInt64 Number string } type Pet struct { gorm.Model UserID *uint Name string Toy Toy `gorm:"polymorphic:Owner;"` }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Dec 15 08:36:08 UTC 2023 - 2.1K bytes - Viewed (0) -
callbacks/delete.go
"gorm.io/gorm/utils" ) func BeforeDelete(db *gorm.DB) { if db.Error == nil && db.Statement.Schema != nil && !db.Statement.SkipHooks && db.Statement.Schema.BeforeDelete { callMethod(db, func(value interface{}, tx *gorm.DB) bool { if i, ok := value.(BeforeDeleteInterface); ok { db.AddError(i.BeforeDelete(tx)) return true } return false }) } } func DeleteBeforeAssociations(db *gorm.DB) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 5.8K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params.md
/// ## Query parameter type conversion { #query-parameter-type-conversion } You can also declare `bool` types, and they will be converted: {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *} In this case, if you go to: ``` http://127.0.0.1:8000/items/foo?short=1 ``` or ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 4.5K bytes - Viewed (0) -
clause/expression_test.go
Expressions: []clause.Expression{ clause.Eq{Column: column, Value: nil}, clause.Eq{Column: column, Value: (*string)(nil)}, clause.Eq{Column: column, Value: (*int)(nil)}, clause.Eq{Column: column, Value: (*bool)(nil)}, clause.Eq{Column: column, Value: (interface{})(nil)}, clause.Eq{Column: column, Value: sql.NullString{String: "", Valid: false}}, }, Result: "`column-name` IS NULL", }, {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 10 05:34:33 UTC 2023 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsThumbnailQueueCQ.java
} public void bool(BoolCall<ThumbnailQueueCQ> boolLambda) { bool(boolLambda, null); } public void bool(BoolCall<ThumbnailQueueCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) { ThumbnailQueueCQ mustQuery = new ThumbnailQueueCQ(); ThumbnailQueueCQ shouldQuery = new ThumbnailQueueCQ(); ThumbnailQueueCQ mustNotQuery = new ThumbnailQueueCQ();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 51.1K bytes - Viewed (1) -
src/archive/zip/reader.go
return b2 } // A fileListEntry is a File and its ename. // If file == nil, the fileListEntry describes a directory without metadata. type fileListEntry struct { name string file *File isDir bool isDup bool } type fileInfoDirEntry interface { fs.FileInfo fs.DirEntry } func (f *fileListEntry) stat() (fileInfoDirEntry, error) { if f.isDup {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (0) -
docs/em/docs/tutorial/query-params.md
๐ ๐ผ, ๐ข ๐ข `q` ๐ ๐ฆ, & ๐ `None` ๐ข. /// check ๐ ๐ **FastAPI** ๐ ๐ฅ ๐ ๐ โก ๐ข `item_id` โก ๐ข & `q` ๐ซ,, โซ๏ธ ๐ข ๐ข. /// ## ๐ข ๐ข ๐ ๐ ๏ธ ๐ ๐ช ๐ฃ `bool` ๐, & ๐ซ ๐ ๐: {* ../../docs_src/query_params/tutorial003.py hl[9] *} ๐ ๐ผ, ๐ฅ ๐ ๐ถ: ``` http://127.0.0.1:8000/items/foo?short=1 ``` โ๏ธ ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
input := filepath.Join("testdata", file+".s") architecture, ctxt := setArch(goarch) architecture.Init(ctxt) lexer := lex.NewLexer(input) parser := NewParser(ctxt, architecture, lexer) pList := new(obj.Plist) var ok bool testOut = new(strings.Builder) // The assembler writes test output to this buffer. ctxt.Bso = bufio.NewWriter(os.Stdout) ctxt.IsAsm = true defer ctxt.Bso.Flush() failed := false
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Mar 26 01:02:50 UTC 2025 - 11.9K bytes - Viewed (0) -
docs/em/docs/tutorial/extra-data-types.md
# โ ๐ฝ ๐ ๐ ๐, ๐ โ๏ธ โ๏ธ โ ๐ ๐, ๐: * `int` * `float` * `str` * `bool` โ๏ธ ๐ ๐ช โ๏ธ ๐ ๐ ๐ ๐. & ๐ ๐ โ๏ธ ๐ โ ๐ ๐ ๐: * ๐ ๐จโ๐จ ๐โ๐ฆบ. * ๐ฝ ๐ ๏ธ โช๏ธโก๏ธ ๐จ ๐จ. * ๐ฝ ๐ ๏ธ ๐จ ๐ฝ. * ๐ฝ ๐ฌ. * ๐ง โ & ๐งพ. ## ๐ ๐ฝ ๐ ๐ฅ ๐ ๐ ๐ ๐ ๐ช โ๏ธ: * `UUID`: * ๐ฉ "โญ ๐ ๐", โ ๐ ๐ ๐ฝ & โ๏ธ. * ๐จ & ๐จ ๐ ๐จ `str`. * `datetime.datetime`: * ๐ `datetime.datetime`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.2K bytes - Viewed (0) -
src/bytes/bytes_test.go
sizes := []int{1, 6, 9, 15, 16, 20, 32, 4 << 10, 4 << 20, 64 << 20} b.Run("same", func(b *testing.B) { benchBytes(b, sizes, bmEqual(func(a, b []byte) bool { return Equal(a, a) })) }) benchBytes(b, sizes, bmEqual(Equal)) } func bmEqual(equal func([]byte, []byte) bool) func(b *testing.B, n int) { return func(b *testing.B, n int) { if len(bmbuf) < 2*n { bmbuf = make([]byte, 2*n) } buf1 := bmbuf[0:n]
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0)