Categorygithub.com/ws6/msi
modulepackage
1.2.2
Repository: https://github.com/ws6/msi.git
Documentation: pkg.go.dev

# README

msi

map[string]interface{} to make orm-less queries. Attempt to achieve the similar interface as mongodb does.

Goals

This is not an ORM but a query builder using map[string]interface{}. This will not require generated code, but load the schema from databases. model first instead of code first Focus on per table based queries. Joins should still be handled manually.

Usage

Please check example/example.go as standablone library

example/beegoapp is a simple example with CRUD out of the box using beego framework.

TODO barefoot http app using msi lib

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewDb loading all tables field definitions from databaseNewDb(`mysql`, `rw_sage:Exxxc0ndid0@(ussd-prd-mysq01:3306)/sage`, `sage`,``).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ToDate 2017-01-01 format.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

logical operators.
No description provided by the author
No description provided by the author
No description provided by the author
if value is true then field is not null; else field is null.
not part of SQL syntax; for overwritting the default field selection.
No description provided by the author
No description provided by the author
compute operators.
No description provided by the author
need values.
No description provided by the author
No description provided by the author
No description provided by the author
not part of SQL syntax.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
need values.
if value is true then field is not null; else field is null.
No description provided by the author
No description provided by the author
No description provided by the author
not part of SQL syntax; accept array of strings; if each field has foreign fields specified will use other wise, use all foreign fields ["field1:foreign_field1,foreign_field2", "field2" ].
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Page one page of results with Total count information.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
function called on Find().Map().
No description provided by the author
No description provided by the author
e.g.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author