A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/
205 matches across 8 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/react-ssr.test.ts | 231 | function UseReplicationStatusComponent() { |
| LOW | test/replication-firestore.test.ts | 111 | function makeFirestoreHumanDocument(human: HumanDocumentType) { |
| LOW | test/unit/rx-collection.test.ts | 396 | async function ensurePrimaryKeyInsertThrows(id: string) { |
| LOW | test/unit/replication-protocol.test.ts | 65 | function ensureReplicationHasNoErrors(replicationState: RxStorageInstanceReplicationState<any>) { |
| LOW | test/unit/attachments.test.ts | 63 | async function createEncryptedAttachmentsCollection( |
| LOW | test/unit/attachments-compression.test.ts | 47 | async function createCompressedAttachmentsCollection( |
| LOW | test/unit/encryption.test.ts | 44 | async function createEncryptedCollection( |
| LOW | test/unit/query-planner.test.ts | 32 | function getHumanSchemaWithIndexes( |
| LOW | test/unit/rx-storage-implementations.test.ts | 3404 | async function getMultiInstanceRxStorageInstance(): Promise<{ |
| LOW | test/unit/rx-storage-implementations.test.ts | 3445 | async function closeMultiInstanceRxStorageInstance(instances: MultiInstanceInstances) { |
| LOW | test/unit/internal-indexes.test.ts | 19 | async function createCollectionWithInternalIndexes(internalIndexes: string[][], docsAmount: number = 0) { |
| LOW | test/helper/graphql-server.ts | 39 | function sortByUpdatedAtAndPrimary( |
| LOW | examples/angular/src/app/typings-test.ts | 18 | function checkDocumentDoubleDollar(doc: RxHeroDocument): Signal<RxHeroDocument> { |
| LOW | examples/angular/src/app/typings-test.ts | 22 | function checkDocumentDeletedDoubleDollar(doc: RxHeroDocument): Signal<boolean> { |
| LOW | examples/graphql/server/index.js | 38 | function sortByUpdatedAtAndPrimary(a, b) { |
| LOW | docs-src/docs/adapters.md | 276 | export function awaitCapacitorDeviceReady(): Promise<void> { |
| LOW | docs-src/docs/articles/javascript-vector-database.md | 221 | export async function getVectorFromTextWithWorker(text: string): Promise<number[]> { |
| LOW | docs-src/docs/articles/javascript-vector-database.md | 407 | async function vectorSearchIndexSimilarity(searchEmbedding: number[]) { |
| LOW | docs-src/src/components/price-calculator.ts | 114 | export function calculatePriceFromFormValueDoc(formValueDoc: RxLocalDocument<any, FormValueDocData>): ReturnType<typeof |
| LOW | docs-src/src/theme/Root.tsx | 311 | function triggerClickEventWhenFromCode() { |
| LOW | docs-src/src/theme/Root.tsx | 326 | function triggerClickEventWhenFromDiscord() { |
| LOW | docs-src/src/theme/SearchBar/index.tsx | 67 | function importDocSearchModalIfNeeded() { |
| LOW | docs-src/src/theme/SearchBar/index.tsx | 164 | function useResultsFooterComponent({ |
| LOW | …cs-src/src/theme/Navbar/MobileSidebar/Layout/index.tsx | 43 | export default function NavbarMobileSidebarLayout({ |
| LOW | …src/theme/Navbar/MobileSidebar/SecondaryMenu/index.tsx | 20 | export default function NavbarMobileSidebarSecondaryMenu(): ReactNode { |
| LOW | …cs-src/src/theme/Navbar/MobileSidebar/Header/index.tsx | 25 | export default function NavbarMobileSidebarHeader(): ReactNode { |
| LOW | docs-src/src/theme/DocSidebarItem/Category/index.tsx | 32 | function useAutoExpandActiveCategory({ |
| LOW | docs-src/src/theme/DocSidebarItem/Category/index.tsx | 57 | function useCategoryHrefWithSSRFallback(item) { |
| LOW | docs-src/src/theme/DocSidebarItem/Category/index.tsx | 126 | function DocSidebarItemCategoryEmpty({item, ...props}) { |
| LOW | docs-src/src/theme/DocSidebarItem/Category/index.tsx | 139 | function DocSidebarItemCategoryCollapsible({ |
| LOW | docs-src/src/pages/index.tsx | 39 | function startLandingpageAnimation() { |
| LOW | src/plugin-helpers.ts | 55 | export function wrappedValidateStorageFactory( |
| LOW | src/rx-error.ts | 169 | export function rxStorageWriteErrorToRxError(err: RxStorageWriteError<any>): RxError { |
| LOW | src/rx-query.ts | 610 | function getLiveQueryUpdateThrottleTime(collection: RxCollection<any>): number { |
| LOW | src/rx-document.ts | 446 | export function createRxDocumentConstructor(proto = basePrototype) { |
| LOW | src/rx-query-helper.ts | 294 | function shouldNormalizeElemMatchSelector(elemMatch: any): boolean { |
| LOW | src/rx-query-helper.ts | 314 | function normalizeQuerySelectorShorthands(selector: any): void { |
| LOW | src/rx-database-internal-store.ts | 102 | export function getPrimaryKeyOfInternalDocument( |
| LOW | src/rx-database-internal-store.ts | 119 | export async function getAllCollectionDocuments( |
| LOW | src/rx-database-internal-store.ts | 247 | export function isDatabaseStateVersionCompatibleWithDatabaseCode( |
| LOW | src/rx-database-internal-store.ts | 276 | export async function addConnectedStorageToCollection( |
| LOW | src/rx-database-internal-store.ts | 337 | export async function removeConnectedStorageFromCollection( |
| LOW | src/rx-storage-multiinstance.ts | 59 | export function getBroadcastChannelReference( |
| LOW | src/rx-storage-multiinstance.ts | 82 | export function removeBroadcastChannelReference( |
| LOW | src/query-planner.ts | 195 | export function isSelectorSatisfiedByIndex( |
| LOW | src/custom-index.ts | 214 | export function getStringLengthOfIndexNumber( |
| LOW | src/custom-index.ts | 263 | export function getPrimaryKeyFromIndexableString( |
| LOW | src/custom-index.ts | 318 | export function getStartIndexStringFromLowerBound( |
| LOW | src/custom-index.ts | 393 | export function getStartIndexStringFromUpperBound( |
| LOW | src/custom-index.ts | 464 | export function changeIndexableStringByOneQuantum(str: string, direction: 1 | -1): string { |
| LOW | src/rx-storage-helper.ts | 81 | export function registerMutableWriteContext(context: string): void { |
| LOW | src/rx-storage-helper.ts | 535 | export function attachmentWriteDataToNormalData(writeData: RxAttachmentData | RxAttachmentWriteData): RxAttachmentData { |
| LOW | src/rx-storage-helper.ts | 870 | export function ensureRxStorageInstanceParamsAreCorrect( |
| LOW | src/rx-collection-helper.ts | 76 | export async function normalizeInlineAttachments( |
| LOW | src/rx-collection-helper.ts | 257 | export function ensureRxCollectionIsNotClosed( |
| LOW | src/rx-database.ts | 976 | export async function isRxDatabaseFirstTimeInstantiated( |
| LOW | src/rx-change-event.ts | 111 | export function rxChangeEventBulkToRxChangeEvents( |
| LOW | src/plugins/storage-remote-websocket/index.ts | 93 | export function startRxStorageRemoteWebsocketServer( |
| LOW | src/plugins/storage-remote-websocket/index.ts | 177 | export function getRxStorageRemoteWebsocket( |
| LOW | src/plugins/migration-schema/migration-helpers.ts | 159 | export function addMigrationStateToDatabase( |
| 66 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/unit/rx-pipeline.test.ts | 101 | */ |
| LOW | test/unit/rx-pipeline.test.ts | 121 | // identifier: randomToken(10) |
| LOW | examples/react-native/initializeDb.js | 81 | const doc = await db[HeroesCollectionName].upsert({ name: 'Alice', color: 'green' }); |
| LOW | examples/ionic2/src/app/app.scss | 1 | // http://ionicframework.com/docs/v2/theming/ |
| LOW | examples/ionic2/src/theme/variables.scss | 1 | // Ionic Variables and Theming. For more info, please see: |
| LOW | examples/ionic2/src/theme/variables.scss | 41 | |
| LOW | examples/flutter/pubspec.yaml | 1 | name: my_app |
| LOW | examples/flutter/pubspec.yaml | 61 | # The following section is specific to Flutter packages. |
| LOW | examples/flutter/pubspec.yaml | 81 | # list giving the asset and other descriptors for the font. For |
| LOW | examples/flutter/analysis_options.yaml | 1 | # This file configures the analyzer, which statically analyzes Dart code to |
| LOW | examples/flutter/analysis_options.yaml | 21 | # section below, it can also be suppressed for a single line of code |
| LOW | …es/flutter/linux/flutter/generated_plugin_registrant.h | 1 | // |
| LOW | examples/flutter/windows/runner/utils.h | 1 | #ifndef RUNNER_UTILS_H_ |
| LOW | examples/flutter/windows/runner/resource.h | 1 | //{{NO_DEPENDENCIES}} |
| LOW | …/flutter/windows/flutter/generated_plugin_registrant.h | 1 | // |
| LOW | examples/electron/main.js | 61 | storage, |
| LOW | .github/workflows/release.yml | 141 | # @link https://github.com/marketplace/actions/actions-for-discord |
| LOW | .github/workflows/cloudflare-pages.yml | 21 | # accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} |
| LOW | .github/workflows/main.yml | 861 | # - uses: actions/checkout@v4 |
| LOW | .github/workflows/main.yml | 881 | # restore-keys: | |
| LOW | .github/workflows/main.yml | 921 | run: | |
| LOW | .github/workflows/main.yml | 941 | # path: | |
| LOW | .github/workflows/main.yml | 961 | |
| LOW | docs-src/docusaurus.config.ts | 301 | }; |
| LOW | docs-src/docusaurus.config.ts | 441 | position: 'right', |
| LOW | docs-src/docs/replication-graphql.md | 341 | queryBuilder: pullQueryBuilder, |
| LOW | docs-src/src/components/a-b-tests.tsx | 1 | import { randomOfArray } from '../../../plugins/utils'; |
| LOW | docs-src/src/components/a-b-tests.tsx | 81 | // props: { |
| LOW | docs-src/src/components/salaries.ts | 21 | /** |
| LOW | docs-src/src/components/salaries.ts | 41 | { 'name': 'Bahamas', 'code': 'BS', salary: 62024 }, |
| LOW | docs-src/src/components/salaries.ts | 61 | { 'name': 'Cambodia', 'code': 'KH', salary: 18000 }, |
| LOW | docs-src/src/components/salaries.ts | 81 | { 'name': 'Czech Republic', 'code': 'CZ', salary: 33760 }, |
| LOW | docs-src/src/components/salaries.ts | 101 | // { 'name': 'Gabon', 'code': 'GA', salary: false }, |
| LOW | docs-src/src/components/salaries.ts | 141 | // { 'name': 'Jordan', 'code': 'JO', salary: false }, |
| LOW | docs-src/src/components/salaries.ts | 161 | // { 'name': 'Maldives', 'code': 'MV', salary: false }, |
| LOW | docs-src/src/components/salaries.ts | 181 | { 'name': 'Netherlands', 'code': 'NL', salary: 62661 }, |
| LOW | docs-src/src/components/salaries.ts | 201 | // { 'name': 'Pitcairn Islands', 'code': 'PN', salary: false }, |
| LOW | docs-src/src/components/salaries.ts | 221 | // { 'name': 'Seychelles', 'code': 'SC', salary: false }, |
| LOW | docs-src/src/components/salaries.ts | 241 | // { 'name': 'Tanzania, United Republic of', 'code': 'TZ', salary: false }, |
| LOW | docs-src/src/components/salaries.ts | 261 | // { 'name': 'Vanuatu', 'code': 'VU', salary: false }, |
| LOW | docs-src/src/theme/Root.tsx | 521 | |
| LOW | docs-src/src/theme/Root.tsx | 541 | // const from = prePopstateUrl; |
| LOW | docs-src/src/theme/Root.tsx | 561 | // location.reload(); |
| LOW | docs-src/src/theme/Root.tsx | 581 | // history.back(); |
| LOW | docs-src/src/theme/PaginatorNavLink/index.tsx | 21 | }}>{isNext ? 'Next' : 'Previous'}</span><br />{isNext ? '' : '« '}{title}{isNext ? ' »' : ''}</Button>; |
| LOW | docs-src/src/pages/sem/indexeddb-database-2.tsx | 21 | // href="/code/" |
| LOW | docs-src/src/pages/sem/indexeddb-database-2.tsx | 41 | // <th>RxDB</th> |
| LOW | docs-src/src/pages/sem/indexeddb-database-2.tsx | 61 | // <td><strong>Observable State</strong></td> |
| LOW | docs-src/src/pages/sem/indexeddb-database-2.tsx | 81 | // <td><strong>Compression Support</strong></td> |
| LOW | docs-src/src/pages/sem/indexeddb-database-2.tsx | 101 | // </table> |
| LOW | src/plugins/flutter/dart/analysis_options.yaml | 1 | # This file configures the static analysis results for your project (errors, |
| LOW | src/plugins/flutter/dart/analysis_options.yaml | 21 | |
| LOW | …plugins/storage-mongodb/rx-storage-instance-mongodb.ts | 141 | // const eventBulk: EventBulk<RxStorageChangeEvent<RxDocumentData<RxDocType>>, RxStorageDefaultCheck |
| LOW | …ns/replication-webrtc/connection-handler-webtorrent.ts | 1 | // /** |
| LOW | …ns/replication-webrtc/connection-handler-webtorrent.ts | 21 | // export const P2PT_DEFAULT_TRACKERS = [ |
| LOW | …ns/replication-webrtc/connection-handler-webtorrent.ts | 41 | // infoHash: sha1.sync(options.topic).toLowerCase(), |
| LOW | …ns/replication-webrtc/connection-handler-webtorrent.ts | 61 | // // a tracker was unavailable or sent bad data to the client. you can probably ignore it |
| LOW | …ns/replication-webrtc/connection-handler-webtorrent.ts | 81 | // peer.on('data', (data: Buffer) => { |
| LOW | …ns/replication-webrtc/connection-handler-webtorrent.ts | 101 | // client.update(); |
| LOW | …ns/replication-webrtc/connection-handler-webtorrent.ts | 121 | // disconnect$.complete(); |
| 4 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/unit/rx-collection.test.ts | 568 | // Step 1: Insert all N documents |
| LOW | test/unit/rx-collection.test.ts | 582 | // Step 2: Delete all N documents |
| LOW | test/unit/rx-collection.test.ts | 596 | // Step 3: Re-insert the same N documents (reviving soft-deleted entries) |
| LOW | test/unit/rx-collection.test.ts | 609 | // Step 4: Verify all documents are present (this is where the bug manifests) |
| LOW | test/unit/rx-document.test.ts | 1446 | // Step 1: Create the observable reference (captures startWith value eagerly) |
| LOW | test/unit/rx-document.test.ts | 1449 | // Step 2: Update the document AFTER creating the observable but BEFORE subscribing |
| LOW | test/unit/rx-document.test.ts | 1452 | // Step 3: Subscribe to the previously created observable |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | examples/flutter/pubspec.yaml | 64 | # included with your application, so that you can use the icons in |
| MEDIUM | src/plugins/flutter/dart/analysis_options.yaml | 9 | # If you want a smaller set of lints you can change this to specify |
| MEDIUM | …s/replication-webrtc/connection-handler-simple-peer.ts | 146 | 'This server is made for demonstration purposes and tryouts. It is not reliable and might be offline at |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | examples/flutter/pubspec.yaml | 61 | # The following section is specific to Flutter packages. |
| MEDIUM | scripts/start-foundationdb-docker.sh | 24 | # Create the cluster file directory on the host |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …cles/alternatives/aws-amplify-datastore-alternative.md | 233 | 'x-api-key': 'your-api-key' |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | config/appwrite/restore.bash | 35 | # Verify if tables exist to confirm import success |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docs-src/docs/rx-query.md | 517 | name: 'John Doe', |