- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,745 for create (0.05 sec)
-
callbacks/create.go
if i, ok := value.(BeforeCreateInterface); ok { called = true db.AddError(i.BeforeCreate(tx)) } } return called }) } } // Create create hook func Create(config *Config) func(db *gorm.DB) { supportReturning := utils.Contains(config.CreateClauses, "RETURNING") return func(db *gorm.DB) { if db.Error != nil { return }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 08 03:29:55 UTC 2024 - 12.5K bytes - Viewed (0) -
.github/workflows/create-release.yml
name: Create Release on: push: tags: - 'v*.*.*' permissions: contents: write pull-requests: read jobs: create_release: name: Create Release runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Generate Release Notes and Publish id: generate_release_notes uses: release-drafter/release-drafter@v6
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Oct 09 11:31:04 UTC 2024 - 663 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
@Override protected SortedSet<Integer> create(Integer[] elements) { SortedSet<Integer> set = nullCheckedTreeSet(elements); if (set.isEmpty()) { /* * The (tooLow + 1, tooHigh) arguments below would be invalid because tooLow would be * greater than tooHigh. */ return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
public static class ImmutableListOfGenerator extends TestStringListGenerator { @Override protected List<String> create(String[] elements) { return ImmutableList.copyOf(elements); } } public static class BuilderAddListGenerator extends TestStringListGenerator { @Override protected List<String> create(String[] elements) { ImmutableList.Builder<String> builder = ImmutableList.<String>builder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5K bytes - Viewed (0) -
tests/update_test.go
} } func TestIdempotentSave(t *testing.T) { create := Company{ Name: "company_idempotent", } DB.Create(&create) var company Company if err := DB.Find(&company, "id = ?", create.ID).Error; err != nil { t.Fatalf("failed to find created company, got err: %v", err) } if err := DB.Save(&company).Error; err != nil || company.ID != create.ID { t.Errorf("failed to save company, got err: %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Dec 04 03:50:58 UTC 2023 - 30.3K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
## Install `SQLModel` First, make sure you create your [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install `sqlmodel`: <div class="termy"> ```console $ pip install sqlmodel ---> 100% ``` </div> ## Create the App with a Single Model We'll create the simplest first version of the app with a single **SQLModel** model first.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 14.7K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
} func tagSetCommand(ctx cli.Context) *cobra.Command { cmd := &cobra.Command{ Use: "set <revision-tag>", Short: "Create or modify revision tags", Long: `Create or modify revision tags. Tag an Istio control plane revision for use with namespace istio.io/rev injection labels.`, Example: ` # Create a revision tag from the "1-8-0" revision istioctl tag set prod --revision 1-8-0
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 15:40:30 UTC 2024 - 16.5K bytes - Viewed (0) -
cmd/server_test.go
// HTTP request to create the bucket. request, err := newTestSignedRequest(http.MethodPut, getMakeBucketURL(s.endPoint, bucketName), 0, nil, s.accessKey, s.secretKey, s.signer) c.Assert(err, nil) // execute the HTTP request to create bucket. response, err := s.client.Do(request) c.Assert(err, nil) c.Assert(response.StatusCode, 200) // Create a byte array of 5MB.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0) -
docs/en/docs/advanced/openapi-callbacks.md
/// ### Create a callback `APIRouter` First create a new `APIRouter` that will contain one or more callbacks. ```Python hl_lines="3 25" {!../../docs_src/openapi_callbacks/tutorial001.py!} ``` ### Create the callback *path operation* To create the callback *path operation* use the same `APIRouter` you created above.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
description: "valid case - create full workload group", args: strings.Split("group create --name foo --namespace bar --labels app=foo,bar=baz "+ " --annotations annotation=foobar --ports grpc=3550,http=8080 --serviceAccount test", " "), expectedException: false, expectedOutput: customYAML, }, { description: "valid case - create full workload group with shortnames",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 14.6K bytes - Viewed (0)