Home Manual Reference Source Test
import {Raw} from 'influx/src/grammar/ds.js'
public class | source

Raw

You can provide Raw values to Influx methods to prevent it from escaping your provided string.

Example:

influx.createDatabase(new Influx.Raw('This won\'t be escaped!'));

Constructor Summary

Public Constructor
public

constructor(value: *)

Wraps a string so that it is not escaped in Influx queries.

Method Summary

Public Methods
public

getValue(): *

Returns the wrapped string.

Public Constructors

public constructor(value: *) source

Wraps a string so that it is not escaped in Influx queries.

Params:

NameTypeAttributeDescription
value *

Example:

influx.createDatabase(new Influx.Raw('This won\'t be escaped!'));

Public Methods

public getValue(): * source

Returns the wrapped string.

Return:

*