neo4j_render_table

Render a result stream as a table.

A bitmask of flags may be supplied, which may include: - NEO4J_RENDER_SHOW_NULLS - output 'null' when rendering NULL values, rather than an empty cell. - NEO4J_RENDER_QUOTE_STRINGS - wrap strings in quotes. - NEO4J_RENDER_ASCII - use only ASCII characters when rendering. - NEO4J_RENDER_ROWLINES - render a line between each output row. - NEO4J_RENDER_WRAP_VALUES - wrap oversized values over multiple lines. - NEO4J_RENDER_NO_WRAP_MARKERS - don't indicate wrapping of values (should be used with NEO4J_RENDER_ROWLINES). - NEO4J_RENDER_ANSI_COLOR - use ANSI escape codes for colorization.

If no flags are required, pass 0 or NEO4J_RENDER_DEFAULT.

@attention The output will be written to the stream using UTF-8 encoding.

@param stream The stream to render to. @param results The results stream to render. @param width The width of the table to render. @param flags A bitmask of flags to control rendering. @return 0 on success, or -1 on error (errno will be set).

extern (C)
int
neo4j_render_table
(
FILE* stream
,,
uint width
,
uint_fast32_t flags
)

Meta