Preparing search index...
The search index is not available
Deepkit
Deepkit
type
ItemChanges
Class ItemChanges<T>
Type Parameters
T
extends
object
Hierarchy
Changes
<
T
>
ItemChanges
Index
Constructors
constructor
Properties
$inc?
$set?
$unset?
empty
field
Names
item
Methods
clear
detect
Empty
get
Returning
has
increase
merge
Set
replace
Set
set
unset
Constructors
constructor
new
Item
Changes
<
T
>
(
changes
?:
ChangesInterface
<
T
>
, item
:
T
)
:
ItemChanges
<
T
>
Type Parameters
T
extends
object
Parameters
changes:
ChangesInterface
<
T
>
= {}
item:
T
Returns
ItemChanges
<
T
>
Properties
Optional
$inc
$inc
?:
Partial
<
Pick
<
T
,
NumberFields
<
T
>
>
>
Optional
$set
$set
?:
T
|
Partial
<
T
>
Optional
$unset
$unset
?:
{
[path:
string
]
:
number
;
}
Type declaration
[
path:
string
]:
number
empty
empty
:
boolean
= true
field
Names
field
Names
:
string
[]
= []
Protected
item
item
:
T
Methods
clear
clear
(
)
:
void
Returns
void
Protected
detect
Empty
detect
Empty
(
)
:
void
Returns
void
get
Returning
get
Returning
(
)
:
string
[]
Returns
string
[]
has
has
(
name
:
keyof
T
&
string
)
:
boolean
Parameters
name:
keyof
T
&
string
Returns
boolean
increase
increase
(
property
:
NumberFields
<
T
>
, increase
?:
number
)
:
void
Parameters
property:
NumberFields
<
T
>
increase:
number
= 1
Returns
void
merge
Set
merge
Set
(
$set
:
T
|
Partial
<
T
>
)
:
void
Parameters
$set:
T
|
Partial
<
T
>
Returns
void
replace
Set
replace
Set
(
$set
:
T
|
Partial
<
T
>
)
:
void
Parameters
$set:
T
|
Partial
<
T
>
Returns
void
set
set
(
property
:
keyof
T
&
string
, value
:
any
)
:
void
Parameters
property:
keyof
T
&
string
value:
any
Returns
void
unset
unset
(
property
:
keyof
T
&
string
, unset
?:
boolean
)
:
void
Parameters
property:
keyof
T
&
string
unset:
boolean
= true
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Deepkit
angular-
universal
api-
console-
api
api-
console-
module
app
broker
bson
core
core-
rxjs
create-
app
crypto
event
framework
framework-
debug-
api
http
injector
logger
mongo
mysql
orm
orm-
browser-
api
orm-
integration
postgres
rpc
rpc-
tcp
skeleton
sql
sqlite
stopwatch
template
type
type-
compiler
workflow
Item
Changes
constructor
$inc?
$set?
$unset?
empty
field
Names
item
clear
detect
Empty
get
Returning
has
increase
merge
Set
replace
Set
set
unset
Generated using
TypeDoc