By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
import { AsyncPipe } from "@angular/common"; | |
import { Component } from "@angular/core"; | |
import { takeUntilDestroyed, toObservable } from "@angular/core/rxjs-interop"; | |
import { injectNetwork } from "ngxtension/inject-network"; | |
import { | |
distinctUntilChanged, | |
map, | |
skipWhile, | |
startWith, | |
switchMap, |
# Delete all logs | |
TRUNCATE ps_log; | |
# DELETE logs with date | |
DELETE FROM ps_log WHERE date_add < '2021-09-14 18:00:00'; | |
# Delete old connection data (only used for stats) | |
# change 2016-02-01 00:00:00 according to you needs |
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git