module

Pessoa

Constants

DB = PG.connect("postgresql://root:root@localhost:5432/rinha_backend")

Pode ser modificado para uma leitura de um arquivo .env

Class methods

can_convert?(value : String) : Bool
Source
count_pessoas
Source
create_pessoa(pessoa)
Source
create_table
Source
find_pessoa(id)
Source
search_pessoas(termo)
Source
verify_pessoa(nome)
Source