function createDatabaseValue - nsc-de/js-database GitHub Wiki

Overview

implementations
createDatabaseValue(val : any[]) : DatabaseArray
createDatabaseValue(val : JSObject) : DatabaseObject
createDatabaseValue(val : DatabaseObject) : DatabaseObject
createDatabaseValue(val : DatabaseArray) : DatabaseArray
createDatabaseValue(val : string) : string
createDatabaseValue(val : number) : number
createDatabaseValue(val : boolean) : boolean
createDatabaseValue(val : null) : null
createDatabaseValue(val : undefined) : undefined




Implementations

createDatabaseValue(val : any[]) : DatabaseArray

🔨 Creates an DatabaseArray from a given array

parameters:
val 🏡 the value to create a database-value from

returns 🔨 the DatabaseArray representation of the given array


createDatabaseValue(val : JSObject) : DatabaseObject

🔨 Creates an DatabaseObject from a given object

parameters:
val 🏡 the object to create a "DatabaseObject" from

returns 🔨 the DatabaseObject-representation of the given object


createDatabaseValue(val : DatabaseObject) : DatabaseObject

This function is not really useful. It gives just the input back.
It is just implemented that you don't get an error when you give
a DatabaseObject as argument.

Deprecated: ⛔ Using this function with that argument does nothing and just slows down your process

parameters:
val 🏡 the value to create a database-value from

returns ⛔ the same DatabaseObjectthat is given as input


createDatabaseValue(val : DatabaseArray) : DatabaseArray

This function is not really useful. It gives just the input back.
It is just implemented that you don't get an error when you give
a DatabaseArray as argument.

Deprecated: ⛔ Using this function with that argument does nothing and just slows down your process

parameters:
val 📋 the value to create a database-value from

returns ⛔ the same DatabaseArray that is given as input


createDatabaseValue(val : string) : string

This function is not really useful. It gives just the input back.
It is just implemented that you don't get an error when you give
a string as argument.

Deprecated: ⛔ Using this function with that argument does nothing and just slows down your process

parameters:
val 📋 the value to create a database-value from

returns ⛔ the same string that is given as input


createDatabaseValue(val : number) : number

This function is not really useful. It gives just the input back.
It is just implemented that you don't get an error when you give
a number as argument.

Deprecated: ⛔ Using this function with that argument does nothing and just slows down your process

parameters:
val 📋 the value to create a database-value from

returns ⛔ the same number that is given as input


createDatabaseValue(val : boolean) : boolean

This function is not really useful. It gives just the input back.
It is just implemented that you don't get an error when you give
a boolean as argument.

Deprecated: ⛔ Using this function with that argument does nothing and just slows down your process

parameters:
val 📋 the value to create a database-value from

returns ⛔ the same boolean that is given as input


createDatabaseValue(val : null) : null

This function is not really useful. It gives just the input back.
It is just implemented that you don't get an error when you give
null as argument.

Deprecated: ⛔ Using this function with that argument does nothing and just slows down your process

parameters:
val ❓ undefined

returns ⛔ null


createDatabaseValue(val : undefined) : undefined

This function is not really useful. It gives just the input back.
It is just implemented that you don't get an error when you give
undefinedas argument.

Deprecated: ⛔ Using this function with that argument does nothing and just slows down your process

parameters:
val ❓ undefined

returns ⛔ undefined


⚠️ **GitHub.com Fallback** ⚠️