CREATE TABLE memos (
  content varchar(256)
);

CREATE INDEX pgrn_index ON memos USING pgroonga (content);

INSERT INTO memos VALUES ('hello');

SELECT jsonb_pretty(
    pgroonga_result_to_jsonb_objects(
      pgroonga_command(
	'select',
	ARRAY[
	  'table', pgroonga_table_name('pgrn_index'),
	  'output_columns', 'content',
	  'command_version', '1'
	]
      )::jsonb
    )
  );

DROP TABLE memos;
