dao

package
v0.0.0-...-46f64f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SQL_LISTAR_PERSONAS = "select cast(p.persona_pk as text) id,p.cedula,p.nombres,	p.apellidos,to_char(p.fechanacimiento, 'dd/MM/yyyy') fechaNacimiento, " +
		" p.genero, to_char(p.fechacreacion, 'dd/MM/yyyy HH24:mm:ss') fechaCreacion, p.estado::text estado " +
		" from 	public.personas p where p.estado = ?"
	SQL_LISTAR_NOMBRE_PERSONAS = "select cast(p.persona_pk as text) id,p.cedula,p.nombres	" +
		" from 	public.personas p where p.estado = ?"
)
View Source
const HABILITAR_DEBUG = false

Variables

This section is empty.

Functions

func ListarTodasPersonas

func ListarTodasPersonas(estado bool) []model.Persona

func ListarTodasPersonasNativo

func ListarTodasPersonasNativo(estado bool) []model.PersonaNativa

func ListarTodasPersonasNombresNativo

func ListarTodasPersonasNombresNativo(estado bool) []model.PersonaNativa

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL