LEVIATHAN v962456e · 962456eee1

atlantis

namespace Orm

since 0.1.0-alpha.1linux

Types

Functions

__ormColsSql

__ormColsSql(Model proto) -> string

__ormEnumMiss

__ormEnumMiss<T>(T witness, string ctx, int code) -> T

__ormGuard

__ormGuard(meta::Class c) -> bool

__ormInPh

__ormInPh(int n) -> string

__ormPad2

__ormPad2(int v) -> string

__ormPad3

__ormPad3(int v) -> string

__ormPathField

__ormPathField(expr::Node t) -> string

__ormRowGuard

__ormRowGuard(meta::Class c) -> bool

__ormSimpleName

__ormSimpleName(string qualified) -> string

asDbInt

asDbInt(string | int | float | bool | None v, string ctx) -> int

dbEq

dbEq(string | int | float | bool | None a, string | int | float | bool | None b) -> bool

ddlSuggest

ddlSuggest(string t) -> string

fmtDateTime

fmtDateTime(DateTime d) -> string

fromDb

fromDb(string | int | float | bool | None v, int witness, string ctx) -> int
fromDb(string | int | float | bool | None v, int | None witness, string ctx) -> int | None
fromDb(string | int | float | bool | None v, float witness, string ctx) -> float
fromDb(string | int | float | bool | None v, float | None witness, string ctx) -> float | None
fromDb(string | int | float | bool | None v, bool witness, string ctx) -> bool
fromDb(string | int | float | bool | None v, bool | None witness, string ctx) -> bool | None
fromDb(string | int | float | bool | None v, string witness, string ctx) -> string
fromDb(string | int | float | bool | None v, string | None witness, string ctx) -> string | None
fromDb(string | int | float | bool | None v, DateTime witness, string ctx) -> DateTime
fromDb(string | int | float | bool | None v, DateTime | None witness, string ctx) -> DateTime | None
fromDb<T>(string | int | float | bool | None v, T witness, string ctx) -> T

likeEscape

likeEscape(string s) -> string

parseDateTime

parseDateTime(string s, string ctx) -> DateTime

qcol

qcol(string name) -> string

qpath

qpath(Array<string> segs) -> string

sqlQuote

sqlQuote(string s) -> string

step

step(int x) -> int
step<T>(T x) -> int

toDb

toDb(int v) -> string | int | float | bool | None
toDb(int | None v) -> string | int | float | bool | None
toDb(float v) -> string | int | float | bool | None
toDb(float | None v) -> string | int | float | bool | None
toDb(bool v) -> string | int | float | bool | None
toDb(bool | None v) -> string | int | float | bool | None
toDb(string v) -> string | int | float | bool | None
toDb(string | None v) -> string | int | float | bool | None
toDb(DateTime v) -> string | int | float | bool | None
toDb(DateTime | None v) -> string | int | float | bool | None
toDb<T>(T v) -> string | int | float | bool | None