19.1.0 • Published 6 months ago

@cumulus/db v19.1.0

Weekly downloads
67
License
Apache-2.0
Repository
-
Last release
6 months ago

@cumulus/db

Utilities for working with the Cumulus database.

Versioning

Cumulus uses a modified semantic versioning scheme and minor releases likely include breaking changes.

Before upgrade, please read the Cumulus release notes before upgraded.

It is strongly recommended you do not use ^ in your package.json to automatically update to new minor versions. Instead, pin the version or use ~ to automatically update to new patch versions.

Installation

  npm install @cumulus/db

Contents

Types

TypeScript interfaces describing the data types stored in the Cumulus database are found in the /types directory.

Typically, there are two TypeScript interfaces describing each Cumulus data type. For example:

  • PostgresProvider: Describes the data structure ready for insertion into the Cumulus Postgres database
  • PostgresProviderRecord: Describes the data structure after retrieval from the Cumulus database. This data type usually includes extra required properties (such as the auto-incremented primary key field), since those properties will exist once a record has been created.

BigInt cumulus_id columns

For the BigInt columns, knex returns postgres as "string" type. In order to use cumulus_id as a number, knex hook postProcessResponse is configured to convert the return string from columns ending with "cumulus_id" to number.

About Cumulus

Cumulus is a cloud-based data ingest, archive, distribution and management prototype for NASA's future Earth science data streams.

Cumulus Documentation

Contributing

To make a contribution, please see our contributing guidelines.

18.5.1

6 months ago

19.1.0

6 months ago

18.5.0

7 months ago

18.3.5

7 months ago

19.0.0

8 months ago

18.3.4

8 months ago

18.4.0

8 months ago

18.2.2

11 months ago

18.3.3

9 months ago

18.3.2

9 months ago

18.3.1

10 months ago

18.3.0

10 months ago

16.1.5

12 months ago

18.2.1

12 months ago

16.1.4

12 months ago

18.2.0

1 year ago

16.1.3

1 year ago

18.2.0-alpha.0

1 year ago

18.0.0

2 years ago

18.0.1-alpha.0

2 years ago

16.0.3-alpha.0

2 years ago

16.1.1

2 years ago

16.1.2

1 year ago

18.1.0

1 year ago

17.0.0

2 years ago

16.0.0

2 years ago

15.0.4

2 years ago

16.0.1-alpha.0

2 years ago

16.0.2-alpha.0

2 years ago

15.0.2

2 years ago

15.0.3

2 years ago

15.0.1

2 years ago

14.1.0

2 years ago

15.0.0

2 years ago

13.3.3-alpha.0

2 years ago

13.4.0

2 years ago

14.0.0

2 years ago

13.3.3-alpha.1

2 years ago

11.1.8

2 years ago

13.3.2

3 years ago

12.0.3

3 years ago

13.3.1

3 years ago

11.1.6

3 years ago

11.1.7

3 years ago

13.3.0

3 years ago

13.1.0

3 years ago

12.0.1

3 years ago

12.0.2

3 years ago

10.1.3

3 years ago

13.2.0

3 years ago

13.2.1

3 years ago

13.0.0

3 years ago

13.0.1

3 years ago

11.1.5

3 years ago

11.1.3

3 years ago

11.1.4

3 years ago

11.1.2

3 years ago

12.0.0

3 years ago

10.0.2

3 years ago

11.1.1

3 years ago

11.1.0

3 years ago

9.9.4

3 years ago

11.0.0

3 years ago

10.1.2

3 years ago

9.4.2

3 years ago

10.1.1

3 years ago

10.1.1-alpha.0

3 years ago

9.9.1

3 years ago

9.7.1

3 years ago

9.4.1

3 years ago

10.0.0

3 years ago

10.1.0

3 years ago

10.0.1

3 years ago

9.9.2

3 years ago

9.9.3

3 years ago

9.2.4

3 years ago

9.2.3

3 years ago

10.0.0-beta.0

3 years ago

9.9.0

3 years ago

9.8.1-alpha.0

3 years ago

9.8.0

4 years ago

9.8.0-alpha.0

4 years ago

9.7.0

4 years ago

9.6.0

4 years ago

9.5.0

4 years ago

9.4.1-alpha.0

4 years ago

9.4.0

4 years ago

9.2.2

4 years ago

9.2.1

4 years ago

9.3.0

4 years ago

9.2.0

4 years ago

9.1.0

4 years ago

8.1.0-alpha.1

4 years ago

9.0.1

4 years ago

9.0.0

4 years ago

8.0.0-alpha.1

4 years ago

7.1.0-alpha.1

4 years ago

3.0.1-alpha.2

4 years ago

3.0.1-alpha.1

4 years ago

2.0.1-alpha.1

5 years ago