-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5613 from daneshk/master
Update the examples and fix the line break issue
- Loading branch information
Showing
24 changed files
with
96 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
$ bal persist generate | ||
$ bal persist generate --datastore inmemory --module store | ||
|
||
Generated Ballerina Client, Types, and Scripts to ./generated/store directory. | ||
You can now start using Ballerina Client in your code. | ||
Persist client and entity types generated successfully in the store directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
$ bal persist init --module store | ||
$ bal persist init | ||
|
||
Initialized persistence in your Ballerina project. | ||
|
||
Your Persist schema is at persist/model.bal. | ||
You can now update it with entity definitions. | ||
Initialized the package for persistence. | ||
|
||
Next steps: | ||
Run bal persist generate to generate the Ballerina Client, Types, and Scripts. You can then start querying your database. | ||
1. Define your data model in "persist/model.bal". | ||
2. Execute `bal persist add --datastore <datastore> --module <module>` to add an entry to "Ballerina.toml" for integrating code generation with the package build process. | ||
OR | ||
Execute `bal persist generate --datastore <datastore> --module <module>` for a one-time generation of the client. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
$ bal persist generate | ||
$ bal persist generate --datastore inmemory --module store | ||
|
||
Generated Ballerina Client, Types, and Scripts to ./generated/store directory. | ||
You can now start using Ballerina Client in your code. | ||
Persist client and entity types generated successfully in the store directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
$ bal persist init --module store | ||
$ bal persist init | ||
|
||
Initialized persistence in your Ballerina project. | ||
|
||
Your Persist schema is at persist/model.bal. | ||
You can now update it with entity definitions. | ||
Initialized the package for persistence. | ||
|
||
Next steps: | ||
Run bal persist generate to generate the Ballerina Client, Types, and Scripts. You can then start querying your database. | ||
1. Define your data model in "persist/model.bal". | ||
2. Execute `bal persist add --datastore <datastore> --module <module>` to add an entry to "Ballerina.toml" for integrating code generation with the package build process. | ||
OR | ||
Execute `bal persist generate --datastore <datastore> --module <module>` for a one-time generation of the client. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
$ bal persist generate | ||
$ bal persist generate --datastore inmemory --module store | ||
|
||
Generated Ballerina Client, Types, and Scripts to ./generated/store directory. | ||
You can now start using Ballerina Client in your code. | ||
Persist client and entity types generated successfully in the store directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
$ bal persist init --module store | ||
$ bal persist init | ||
|
||
Initialized persistence in your Ballerina project. | ||
|
||
Your Persist schema is at persist/model.bal. | ||
You can now update it with entity definitions. | ||
Initialized the package for persistence. | ||
|
||
Next steps: | ||
Run bal persist generate to generate the Ballerina Client, Types, and Scripts. You can then start querying your database. | ||
1. Define your data model in "persist/model.bal". | ||
2. Execute `bal persist add --datastore <datastore> --module <module>` to add an entry to "Ballerina.toml" for integrating code generation with the package build process. | ||
OR | ||
Execute `bal persist generate --datastore <datastore> --module <module>` for a one-time generation of the client. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
$ bal persist generate | ||
$ bal persist generate --datastore inmemory --module store | ||
|
||
Generated Ballerina Client, Types, and Scripts to ./generated/store directory. | ||
You can now start using Ballerina Client in your code. | ||
Persist client and entity types generated successfully in the store directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
$ bal persist init --module store | ||
$ bal persist init | ||
|
||
Initialized persistence in your Ballerina project. | ||
|
||
Your Persist schema is at persist/model.bal. | ||
You can now update it with entity definitions. | ||
Initialized the package for persistence. | ||
|
||
Next steps: | ||
Run bal persist generate to generate the Ballerina Client, Types, and Scripts. You can then start querying your database. | ||
1. Define your data model in "persist/model.bal". | ||
2. Execute `bal persist add --datastore <datastore> --module <module>` to add an entry to "Ballerina.toml" for integrating code generation with the package build process. | ||
OR | ||
Execute `bal persist generate --datastore <datastore> --module <module>` for a one-time generation of the client. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
$ bal persist generate | ||
$ bal persist generate --datastore inmemory --module store | ||
|
||
Generated Ballerina Client, Types, and Scripts to ./generated/store directory. | ||
You can now start using Ballerina Client in your code. | ||
Persist client and entity types generated successfully in the store directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
$ bal persist init --module store | ||
$ bal persist init | ||
|
||
Initialized persistence in your Ballerina project. | ||
|
||
Your Persist schema is at persist/model.bal. | ||
You can now update it with entity definitions. | ||
Initialized the package for persistence. | ||
|
||
Next steps: | ||
Run bal persist generate to generate the Ballerina Client, Types, and Scripts. You can then start querying your database. | ||
1. Define your data model in "persist/model.bal". | ||
2. Execute `bal persist add --datastore <datastore> --module <module>` to add an entry to "Ballerina.toml" for integrating code generation with the package build process. | ||
OR | ||
Execute `bal persist generate --datastore <datastore> --module <module>` for a one-time generation of the client. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
$ bal persist generate | ||
$ bal persist generate --datastore inmemory --module store | ||
|
||
Generated Ballerina Client, Types, and Scripts to ./generated/store directory. | ||
You can now start using Ballerina Client in your code. | ||
Persist client and entity types generated successfully in the store directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
$ bal persist init --module store | ||
$ bal persist init | ||
|
||
Initialized persistence in your Ballerina project. | ||
|
||
Your Persist schema is at persist/model.bal. | ||
You can now update it with entity definitions. | ||
Initialized the package for persistence. | ||
|
||
Next steps: | ||
Run bal persist generate to generate the Ballerina Client, Types, and Scripts. You can then start querying your database. | ||
1. Define your data model in "persist/model.bal". | ||
2. Execute `bal persist add --datastore <datastore> --module <module>` to add an entry to "Ballerina.toml" for integrating code generation with the package build process. | ||
OR | ||
Execute `bal persist generate --datastore <datastore> --module <module>` for a one-time generation of the client. |
Oops, something went wrong.