Skip to content

Commit 8b19be3

Browse files
docs: improve all README.mds (#738)
- the cap-js dbs are now default -> remove `new` - fix typos - fix links - improve wording and formatting
1 parent b65de2b commit 8b19be3

File tree

5 files changed

+17
-22
lines changed

5 files changed

+17
-22
lines changed

README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22

33
# Welcome to the @cap-js/cds-dbs Monorepo
44

5-
65
This is a monorepo for our SQL Database Services.
76

8-
It contains subfolders for the [base database service implementation](./db-service/) as well as the implementation of this interface for [sqlite](./sqlite/) and [postgres](./postgres/).
7+
It contains subfolders for the [base database service implementation](./db-service/) as well as the implementation of this interface for [SQLite](./sqlite/), [PostgreSQL](./postgres/) and [SAP HANA](./hana/).
98
Each of the subfolders is published as individual npm module.
109

1110
Documentation can be found at [cap.cloud.sap](https://cap.cloud.sap/docs/guides/databases).
1211

1312
## Prerequisites
1413

15-
See [Getting Started](https://cap.cloud.sap/docs/get-started) on how to jumpstart your development and grow as you go with [SAP Cloud Application Programming Model](https://cap.cloud.sap).
14+
See [Getting Started](https://cap.cloud.sap/docs/get-started/in-a-nutshell) on how to jumpstart your development and grow as you go with [SAP Cloud Application Programming Model](https://cap.cloud.sap).
1615

1716
## Setup
1817

@@ -26,7 +25,6 @@ npm add @cap-js/sqlite -D
2625

2726
Learn more about setup and usage in the [respective database guides](https://cap.cloud.sap/docs/guides/databases).
2827

29-
3028
## Support
3129

3230
This project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/cap-js/cds-dbs/issues).
@@ -41,4 +39,4 @@ We as members, contributors, and leaders pledge to make participation in our com
4139

4240
## Licensing
4341

44-
Copyright 2023 SAP SE or an SAP affiliate company and cds-dbs contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/cap-js/cds-dbs).
42+
Copyright 2024 SAP SE or an SAP affiliate company and cds-dbs contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/cap-js/cds-dbs).

db-service/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# CDS base database service
22

3-
Welcome to the new base database service for [SAP Cloud Application Programming Model](https://cap.cloud.sap) Node.js, based on new, streamlined database architecture.
3+
Welcome to the base database service for [SAP Cloud Application Programming Model](https://cap.cloud.sap) Node.js. This service forms the core of all supported databases and is the base of our streamlined database architecture.
44

5-
Find documentation at https://cap.cloud.sap/docs/guides/databases
5+
Find documentation at <https://cap.cloud.sap/docs/guides/databases>
66

77
## Support
88

@@ -23,4 +23,4 @@ We as members, contributors, and leaders pledge to make participation in our com
2323

2424
## Licensing
2525

26-
Copyright 2023 SAP SE or an SAP affiliate company and cds-dbs contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/cap-js/cds-dbs).
26+
Copyright 2024 SAP SE or an SAP affiliate company and cds-dbs contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/cap-js/cds-dbs).

hana/README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
# CDS database service for SAP HANA
22

3-
Welcome to the new SAP HANA database service for [SAP Cloud Application Programming Model](https://cap.cloud.sap) Node.js, based on new, streamlined database architecture.
3+
Welcome to the SAP HANA database service for [SAP Cloud Application Programming Model](https://cap.cloud.sap) Node.js, based on streamlined database architecture.
44

55
## Setup
66

7-
In general, all you need to do is to install one of the database packages, as follows:
7+
All you need to do is to install the database package, as follows:
88

99
```sh
1010
npm add @cap-js/hana
1111
```
1212

1313
Learn more about setup and usage in the [respective database guide](https://cap.cloud.sap/docs/guides/databases-hana).
1414

15-
1615
## Support
1716

1817
This project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/cap-js/cds-dbs/issues).
@@ -27,4 +26,4 @@ We as members, contributors, and leaders pledge to make participation in our com
2726

2827
## Licensing
2928

30-
Copyright 2023 SAP SE or an SAP affiliate company and cds-dbs contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/cap-js/cds-dbs).
29+
Copyright 2024 SAP SE or an SAP affiliate company and cds-dbs contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/cap-js/cds-dbs).

postgres/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# CDS database service for Postgres
22

3-
Welcome to the new Postgres database service for [SAP Cloud Application Programming Model](https://cap.cloud.sap) Node.js, based on new, streamlined database architecture and [*pg* driver](https://www.npmjs.com/package/pg) .
3+
Welcome to the PostgreSQL database service for [SAP Cloud Application Programming Model](https://cap.cloud.sap) Node.js, based on streamlined database architecture and [*pg* driver](https://www.npmjs.com/package/pg) .
44

55
## Setup
66

7-
In general, all you need to do is to install one of the database packages, as follows:
7+
In general, all you need to do is to install the database package, as follows:
88

99
```sh
1010
npm add @cap-js/postgres
@@ -38,7 +38,7 @@ Copyright 2023 SAP SE or an SAP affiliate company and cds-dbs contributors. Plea
3838
`@cap-js/postgres` works as a drop-in replacement for `cds-pg`.
3939
However, some preliminary checks and cleanups help:
4040

41-
- for using the BTP Postgres Hyperscaler as database,
41+
- for using the BTP Postgres Hyperscaler as database,
4242
- know that the credentials are picked up automatically by from the enviornment (`VCAP_SERVICES.postgres`)
4343
- the service binding label is `postgresql-db`
4444
- `cds-dbm` is replaced by a hand-crafted "db-deployer" app &rarr; see below
@@ -134,11 +134,11 @@ now, re-use the CDS definitions: `SELECT.from(Beers).columns('brewery_ID').group
134134

135135
So please adjust your `CQL` statements accordingly.
136136

137-
### timezones (potential _**BREAKING CHANGE**_)
137+
### timezones (potential **BREAKING CHANGE**)
138138

139139
any date- + time-type will get stored in [`UTC`](https://en.wikipedia.org/wiki/Coordinated_Universal_Time) **without any timezone identifier in the actual data field**.
140140
CAP's inbound- and outbound adapters take care of converting incoming and outgoing data from/to the desired time zones.
141-
So when a `dateime` comes in being in [an ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) compatible format
141+
So when a `datetime` comes in being in [an ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) compatible format
142142
`2009-01-01T15:00:00+01:00` (15:00:00 on January 1 2009 in Vienna (CEST))
143143
will get stored as
144144
`2009-01-01T13:00:00` (13:00:00 on January 1 2009 in UTC).

sqlite/README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
# CDS database service for SQLite
22

3-
Welcome to the new SQLite database service for [SAP Cloud Application Programming Model](https://cap.cloud.sap) Node.js, based on new, streamlined database architecture and [*better-sqlite* driver](https://www.npmjs.com/package/better-sqlite3) .
3+
Welcome to the SQLite database service for [SAP Cloud Application Programming Model](https://cap.cloud.sap) Node.js, based on streamlined database architecture and [*better-sqlite* driver](https://www.npmjs.com/package/better-sqlite3).
44

55
## Setup
66

7-
In general, all you need to do is to install one of the database packages, as follows:
8-
9-
Using SQLite for development:
7+
If you want to use SQLite for development, all you need to do is to install the database package, as follows
108

119
```sh
1210
npm add @cap-js/sqlite -D
@@ -33,4 +31,4 @@ We as members, contributors, and leaders pledge to make participation in our com
3331

3432
## Licensing
3533

36-
Copyright 2023 SAP SE or an SAP affiliate company and cds-dbs contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/cap-js/cds-dbs).
34+
Copyright 2024 SAP SE or an SAP affiliate company and cds-dbs contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/cap-js/cds-dbs).

0 commit comments

Comments
 (0)