- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 252 for databases (0.75 sec)
-
tests/transaction_test.go
t.Fatalf("Should find saved record") } } func TestTransactionOnClosedConn(t *testing.T) { DB, err := OpenTestConnection(&gorm.Config{}) if err != nil { t.Fatalf("failed to connect database, got error %v", err) } rawDB, _ := DB.DB() rawDB.Close() if err := DB.Transaction(func(tx *gorm.DB) error { return nil }); err == nil {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/BadWordService.java
*/ public class BadWordService { private static final String DELETE_PREFIX = "--"; private static final Logger logger = LogManager.getLogger(BadWordService.class); /** Database behavior for bad word operations. */ @Resource protected BadWordBhv badWordBhv; /** Search engine client for index operations. */ @Resource protected SearchEngineClient searchEngineClient;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 8.6K bytes - Viewed (0) -
logger/sql_test.go
package logger_test import ( "database/sql/driver" "encoding/json" "fmt" "regexp" "strings" "testing" "github.com/jinzhu/now" "gorm.io/gorm/logger" ) type JSON json.RawMessage func (j JSON) Value() (driver.Value, error) { if len(j) == 0 { return nil, nil } return json.RawMessage(j).MarshalJSON() } type ExampleStruct struct { Name string Val string }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 8.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
* limitations under the License. */ package okhttp3.internal.publicsuffix import java.net.IDN import okhttp3.internal.and import okio.ByteString import okio.ByteString.Companion.encodeUtf8 /** * A database of public suffixes provided by [publicsuffix.org][publicsuffix_org]. * * [publicsuffix_org]: https://publicsuffix.org/ */ class PublicSuffixDatabase internal constructor( private val publicSuffixList: PublicSuffixList,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.5K bytes - Viewed (0) -
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 Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 6.9K bytes - Viewed (0) -
clause/expression_test.go
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Nov 04 07:04:52 UTC 2025 - 8.9K bytes - Viewed (0) -
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 Dec 28 09:35:17 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
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 Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.1K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_tutorial002.py
assert response.json() == snapshot( {"age": 30, "id": IsInt(), "name": "Dead Pond"} ) assert response.json()["id"] != 9000, ( "The ID should be generated by the database" ) # Read a hero hero_id = response.json()["id"] response = client.get(f"/heroes/{hero_id}") assert response.status_code == 200, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 17.9K bytes - Viewed (0) -
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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.9K bytes - Viewed (0)