Skip to content

function createDatabaseValue

Super4Jet edited this page Nov 25, 2020 · 3 revisions

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