You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CODE_OF_CONDUCT.md
+7-13Lines changed: 7 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,10 @@
5
5
We as members, contributors, and leaders pledge to make participation in our
6
6
community a harassment-free experience for everyone, regardless of age, body
7
7
size, visible or invisible disability, ethnicity, sex characteristics, gender
8
-
identity and expression, level of experience, education, socio-economic status,
9
-
nationality, personal appearance, race, religion, or sexual identity
8
+
identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity
10
9
and orientation.
11
10
12
-
We pledge to act and interact in ways that contribute to an open, welcoming,
13
-
diverse, inclusive, and healthy community.
11
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
14
12
15
13
## Our Standards
16
14
@@ -20,8 +18,7 @@ community include:
20
18
* Demonstrating empathy and kindness toward other people
21
19
* Being respectful of differing opinions, viewpoints, and experiences
22
20
* Giving and gracefully accepting constructive feedback
23
-
* Accepting responsibility and apologizing to those affected by our mistakes,
24
-
and learning from the experience
21
+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
25
22
* Focusing on what is best not just for us as individuals, but for the
26
23
overall community
27
24
@@ -40,8 +37,7 @@ Examples of unacceptable behavior include:
40
37
41
38
Community leaders are responsible for clarifying and enforcing our standards of
42
39
acceptable behavior and will take appropriate and fair corrective action in
43
-
response to any behavior that they deem inappropriate, threatening, offensive,
44
-
or harmful.
40
+
response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
45
41
46
42
Community leaders have the right and responsibility to remove, edit, or reject
47
43
comments, commits, code, wiki edits, issues, and other contributions that are
@@ -52,8 +48,7 @@ decisions when appropriate.
52
48
53
49
This Code of Conduct applies within all community spaces, and also applies when
54
50
an individual is officially representing the community in public spaces.
55
-
Examples of representing our community include using an official e-mail address,
56
-
posting via an official social media account, or acting as an appointed
51
+
Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed
57
52
representative at an online or offline event.
58
53
59
54
## Enforcement
@@ -106,16 +101,15 @@ Violating these terms may lead to a permanent ban.
106
101
### 4. Permanent Ban
107
102
108
103
**Community Impact**: Demonstrating a pattern of violation of community
109
-
standards, including sustained inappropriate behavior, harassment of an
104
+
standards, including sustained inappropriate behavior, harassment of an
110
105
individual, or aggression toward or disparagement of classes of individuals.
111
106
112
107
**Consequence**: A permanent ban from any sort of public interaction within
113
108
the community.
114
109
115
110
## Attribution
116
111
117
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
-
version 2.0, available at
112
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at
Copy file name to clipboardExpand all lines: en/cli/cli-database.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,24 +15,24 @@ The command accepts an optional ORM argument to skip the first selection step. W
15
15
16
16
## When to use
17
17
18
-
Use this command at the beginning of a project or when adding database access to an existing Spraxium application. It is the equivalent of manually installing packages, writing connection boilerplate, and registering the module, all collapsed into a single interactive flow. Run it once per database integration; for schema changes or migrations, use the ORM tooling directly after setup.
18
+
Use this command at the beginning of a project or when adding database access to an existing Spraxium application. It is the equivalent of manually installing packages, writing connection boilerplate, and registering the module, all collapsed into a single interactive flow. Run it once per database integration; for schema changes or migrations, use the ORM tooling directly after setup.
19
19
20
20
## Supported ORMs
21
21
22
22
<DropdownGroup>
23
-
<Dropdowntitle="Prisma, schema-first with auto-generated client">
23
+
<Dropdowntitle="Prisma, schema-first with auto-generated client">
24
24
Prisma is the best choice when you want a strongly typed query client generated from a declarative schema file. It supports PostgreSQL, MySQL, and SQLite out of the box. After the wizard runs, define your models in `prisma/schema.prisma` and run `npx prisma migrate dev` to apply changes. Prisma is ideal for teams that prefer schema-as-source-of-truth workflows, readable migration history, and full TypeScript type safety from database to application layer.
Drizzle is suited for projects that value small bundle size, direct SQL control, and schema defined in TypeScript rather than a separate file. It supports PostgreSQL, MySQL, and SQLite. The generated *DatabaseService* exposes a `.getDb()` method that returns the Drizzle query builder, ready to use. Choose Drizzle when you want minimal abstraction with full TypeScript inference and prefer defining tables as TypeScript objects over `.prisma` syntax.
28
28
</Dropdown>
29
-
<Dropdowntitle="TypeORM, decorator-based with Active Record or Data Mapper">
29
+
<Dropdowntitle="TypeORM, decorator-based with Active Record or Data Mapper">
30
30
TypeORM is the established choice for teams coming from NestJS or Spring backgrounds who are comfortable with class decorators such as *@Entity*, *@Column*, and *@Repository*. It supports PostgreSQL, MySQL, and SQLite. Use TypeORM when your team prefers entity classes as the source of truth and wants a familiar pattern for migrations and relation management.
31
31
</Dropdown>
32
-
<Dropdowntitle="Mongoose, document model for MongoDB">
32
+
<Dropdowntitle="Mongoose, document model for MongoDB">
33
33
Mongoose is the right pick when your data is document-oriented and MongoDB is your database. It has a single database target, so the wizard skips the engine selection step. The generated module includes a schema definition and a service that wraps the Mongoose model. Choose Mongoose for applications that need flexible schemas, embedded documents, or MongoDB-specific query operators.
34
34
</Dropdown>
35
-
<Dropdowntitle="Mikro-ORM, versatile ORM with Unit of Work pattern">
35
+
<Dropdowntitle="Mikro-ORM, versatile ORM with Unit of Work pattern">
36
36
Mikro-ORM is a strong choice for advanced use cases that benefit from the Unit of Work pattern and Identity Map. It supports PostgreSQL, MySQL, SQLite, and MongoDB. Mikro-ORM is well suited for complex domain models with deep relation graphs, where controlled change tracking across a request lifecycle matters more than simplicity of setup.
Always apply *@EmbedWhen* before *@EmbedField* on the same property. The decorator stacking order matters — if the predicate returns false, the field metadata is skipped entirely during rendering.
217
+
Always apply *@EmbedWhen* before *@EmbedField* on the same property. The decorator stacking order matters, if the predicate returns false, the field metadata is skipped entirely during rendering.
228
218
</Callout>
229
219
230
220
## DescriptionBuilder
@@ -287,11 +277,7 @@ export class ProfileCommandHandler {
0 commit comments