Home Manual Reference Source Test
import {Raw} from 'influx'
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

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

Method Summary

Public Methods
public

Returns the wrapped string.

Public Constructors

public constructor(value: String) source

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

Params:

NameTypeAttributeDescription
value String

Example:

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

Public Methods

public getValue(): String source

Returns the wrapped string.

Return:

String