1.5.0 • Published 3 months ago

@perdieminc/models v1.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

PerDiem Models

A simple model extension for Knex to help manage cache

    create<T>(record: any): Promise<T[]>;
    update<T>(conditions: any, record: any, hooks?: ModelHooks): Promise<T[]>;
    del<T>(conditions: any): Promise<T[]>;
    get<T>(conditions: any, hooks?: ModelHooks): Promise<T>;
    getAll<T>(conditions: any, options: any, hooks?: ModelHooks): Promise<T[]>;
    getMany<T>(conditions: any, hooks?: ModelHooks): Promise<T[]>;
acornacorn-jsxacorn-walkaggregate-errorajvansi-colorsansi-escapesansi-regexansi-stylesanymatchappend-transformarchyargargparsearray-unionassertion-errorastral-regexbalanced-matchbinary-extensionsbrace-expansionbracesbrowser-stdoutbrowserslistbuffer-writercaching-transformcallsitescamelcasecaniuse-litechalkcheck-errorclean-stackcli-cursorcli-truncatecliuicluster-key-slotcolor-convertcolor-namecolorettecommandercommondirconcat-mapconvert-source-mapcreate-requirecross-spawndebugdecamelizedeep-eqldeep-isdefault-require-extensionsdenquediffdir-globdoctrineeastasianwidthelectron-to-chromiumemoji-regexes6-errorescaladeescape-string-regexpeslint-scopeeslint-utilseslint-visitor-keysesmespreeesprimaesqueryesrecurseestraverseesutilsexecafast-deep-equalfast-globfast-json-stable-stringifyfast-levenshteinfastqfile-entry-cachefill-rangefind-cache-dirfind-upflatflat-cacheflattedforeground-childfromentriesfs.realpathfunction-bindfunctional-red-black-treegensyncget-caller-fileget-func-nameget-package-typeget-streamgetoptsglobglob-parentglobalsglobbygraceful-fsgrowlhashas-flaghashahehtml-escaperhuman-signalsignoreimport-freshimurmurhashindent-stringinflightinheritsinterpretis-binary-pathis-core-moduleis-extglobis-fullwidth-code-pointis-globis-numberis-plain-objis-streamis-typedarrayis-unicode-supportedis-windowsisexeistanbul-lib-coverageistanbul-lib-hookistanbul-lib-instrumentistanbul-lib-processinfoistanbul-lib-reportistanbul-lib-source-mapsistanbul-reportsjs-tokensjs-yamljsescjson-schema-traversejson-stable-stringify-without-jsonifyjson5levnlilconfiglistr2locate-pathlodashlodash.defaultslodash.flattenlodash.flattendeeplodash.isargumentslodash.mergelog-symbolslog-updateloupelru-cachemake-dirmake-errormerge-streammerge2micromatchmimic-fnminimatchmsnanoidnatural-comparenode-preloadnode-releasesnormalize-pathnpm-run-pathobject-inspectonceonetimeoptionatorp-limitp-locatep-mapp-trypackage-hashpacket-readerparent-modulepath-existspath-is-absolutepath-keypath-parsepath-typepathvalpg-connection-stringpg-int8pg-poolpg-protocolpg-typespgpasspicocolorspicomatchpidtreepkg-dirpostgres-arraypostgres-byteapostgres-datepostgres-intervalprelude-lsprocess-on-spawnpunycodequeue-microtaskrandombytesreaddirprechoirredis-commandsredis-errorsredis-parserregexpprelease-zalgorequire-directoryrequire-main-filenameresolveresolve-fromrestore-cursorreusifyrfdcrimrafrun-parallelrxjssafe-buffersemverserialize-javascriptset-blockingshebang-commandshebang-regexsignal-exitslashslice-ansisource-mapspawn-wrapsplit2sprintf-jsstandard-as-callbackstring-argvstring-widthstrip-ansistrip-bomstrip-final-newlinestrip-json-commentssupports-colorsupports-preserve-symlinks-flagtarntest-excludetext-tablethroughtildifyto-fast-propertiesto-regex-rangetslibtsutilstype-checktype-detecttype-festtypedarray-to-bufferupdate-browserslist-dburi-jsuuidv8-compile-cachev8-compile-cache-libwhichwhich-moduleword-wrapworkerpoolwrap-ansiwrappywrite-file-atomicxtendy18nyallistyamlyargsyargs-parseryargs-unparserynyocto-queue
1.4.7

3 months ago

1.4.5

3 months ago

1.4.3

3 months ago

1.4.2

3 months ago

1.5.0

3 months ago

1.4.1

3 months ago

1.3.7

3 months ago