- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for birthday (0.07 sec)
-
schema/model_test.go
package schema_test import ( "database/sql" "time" "gorm.io/gorm" "gorm.io/gorm/utils/tests" ) type User struct { *gorm.Model Name *string Age *uint Birthday *time.Time Account *tests.Account Pets []*tests.Pet Toys []*tests.Toy `gorm:"polymorphic:Owner"` CompanyID *int Company *tests.Company ManagerID *uint Manager *User
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.1K bytes - Viewed (0) -
tests/group_by_test.go
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 3.3K bytes - Viewed (0) -
tests/helper_test.go
Team int Languages int Friends int NamedPet bool Tools int } func GetUser(name string, config Config) *User { var ( birthday = time.Now().Round(time.Second) user = User{ Name: name, Age: 18, Birthday: &birthday, } ) if config.Account { user.Account = Account{Number: name + "_account"} } for i := 0; i < config.Pets; i++ {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
tests/embedded_struct_test.go
t.Errorf("Expected to get nil Author contentPtr but got: %v", hnPost.Author.ContentPtr) } if NewPost.Author.Birthday.UnixMilli() != hnPost.Author.Birthday.UnixMilli() { t.Errorf("Expected to get Author birthday with %+v but got: %+v", NewPost.Author.Birthday, hnPost.Author.Birthday) } if hnPost.Author.BirthdayPtr != nil { t.Errorf("Expected to get nil Author birthdayPtr but got: %+v", hnPost.Author.BirthdayPtr)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
tests/connpool_test.go
"SELECT VERSION()", "INSERT INTO `users` (`created_at`,`updated_at`,`deleted_at`,`name`,`age`,`birthday`,`company_id`,`manager_id`,`active`) VALUES (?,?,?,?,?,?,?,?,?)", "SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?", "INSERT INTO `users` (`created_at`,`updated_at`,`deleted_at`,`name`,`age`,`birthday`,`company_id`,`manager_id`,`active`) VALUES (?,?,?,?,?,?,?,?,?)",
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Feb 06 02:54:40 UTC 2024 - 5.5K bytes - Viewed (0) -
utils/tests/models.go
// His pet also has one Toy (has one - polymorphic) // NamedPet is a reference to a named `Pet` (has one) type User struct { gorm.Model Name string Age uint Birthday *time.Time Account Account Pets []*Pet NamedPet *Pet Toys []Toy `gorm:"polymorphic:Owner"` Tools []Tools `gorm:"polymorphicType:Type;polymorphicId:CustomID"` CompanyID *int
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Dec 15 08:36:08 UTC 2023 - 2.1K bytes - Viewed (0) -
dbflute_fess/playsql/replace-schema.sql
MEMBER_ID INTEGER IDENTITY NOT NULL PRIMARY KEY, MEMBER_NAME VARCHAR(200) NOT NULL, MEMBER_ACCOUNT VARCHAR(50) NOT NULL, MEMBER_STATUS_CODE CHAR(3) NOT NULL, FORMALIZED_DATETIME DATETIME, BIRTHDATE DATE, REGISTER_DATETIME DATETIME NOT NULL, REGISTER_USER VARCHAR(200) NOT NULL, UPDATE_DATETIME DATETIME NOT NULL, UPDATE_USER VARCHAR(200) NOT NULL, VERSION_NO BIGINT NOT NULL
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Jul 25 06:04:16 UTC 2015 - 449 bytes - Viewed (0) -
dbflute_fess/playsql/_readme.txt
|-30-product.xls |-defaultValueMap.dataprop - - - - - - - - - -/ The format of a xls file is like this: /- - - - - - - - - - - - - - - - - - - - |MEMBER_ID|MEMBER_NAME|BIRTHDATE | | 1|Stojkovic |1965/03/03| | 2|Savicevic | | | 3|... |... | (Sheet) MEMBER / MEMBER_LOGIN / MEMBER_SECURITY - - - - - - - - - -/
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Jul 04 22:46:31 UTC 2015 - 1.3K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/date.js
me",validatorFunction:function(a){if(null===a.match(/^(\d{2}):(\d{2})$/))return!1;var b=parseInt(a.split(":")[0],10),c=parseInt(a.split(":")[1],10);return!(b>23||c>59)},errorMessage:"",errorMessageKey:"badTime"}),a.formUtils.addValidator({name:"birthdate",validatorFunction:function(c,d,e){var f="yyyy-mm-dd";d.valAttr("format")?f=d.valAttr("format"):"undefined"!=typeof e.dateFormat&&(f=e.dateFormat);var g=a.formUtils.parseDate(c,f);if(!g)return!1;var h=g[0],i=g[1],j=g[2],k=b(h,i,j),l=(d.valAttr("...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 1.6K bytes - Viewed (0)