Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
beego
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
beego
Commits
27b452cd
Commit
27b452cd
authored
Jun 13, 2015
by
astaxie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://github.com/astaxie/beego
into develop
parents
b776e439
cb89cd57
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
0 deletions
+8
-0
db.go
orm/db.go
+2
-0
db_mysql.go
orm/db_mysql.go
+2
-0
db_postgres.go
orm/db_postgres.go
+2
-0
db_sqlite.go
orm/db_sqlite.go
+2
-0
No files found.
orm/db.go
View file @
27b452cd
...
@@ -44,6 +44,8 @@ var (
...
@@ -44,6 +44,8 @@ var (
"gte"
:
true
,
"gte"
:
true
,
"lt"
:
true
,
"lt"
:
true
,
"lte"
:
true
,
"lte"
:
true
,
"eq"
:
true
,
"nq"
:
true
,
"startswith"
:
true
,
"startswith"
:
true
,
"endswith"
:
true
,
"endswith"
:
true
,
"istartswith"
:
true
,
"istartswith"
:
true
,
...
...
orm/db_mysql.go
View file @
27b452cd
...
@@ -30,6 +30,8 @@ var mysqlOperators = map[string]string{
...
@@ -30,6 +30,8 @@ var mysqlOperators = map[string]string{
"gte"
:
">= ?"
,
"gte"
:
">= ?"
,
"lt"
:
"< ?"
,
"lt"
:
"< ?"
,
"lte"
:
"<= ?"
,
"lte"
:
"<= ?"
,
"eq"
:
"= ?"
,
"ne"
:
"!= ?"
,
"startswith"
:
"LIKE BINARY ?"
,
"startswith"
:
"LIKE BINARY ?"
,
"endswith"
:
"LIKE BINARY ?"
,
"endswith"
:
"LIKE BINARY ?"
,
"istartswith"
:
"LIKE ?"
,
"istartswith"
:
"LIKE ?"
,
...
...
orm/db_postgres.go
View file @
27b452cd
...
@@ -29,6 +29,8 @@ var postgresOperators = map[string]string{
...
@@ -29,6 +29,8 @@ var postgresOperators = map[string]string{
"gte"
:
">= ?"
,
"gte"
:
">= ?"
,
"lt"
:
"< ?"
,
"lt"
:
"< ?"
,
"lte"
:
"<= ?"
,
"lte"
:
"<= ?"
,
"eq"
:
"= ?"
,
"ne"
:
"!= ?"
,
"startswith"
:
"LIKE ?"
,
"startswith"
:
"LIKE ?"
,
"endswith"
:
"LIKE ?"
,
"endswith"
:
"LIKE ?"
,
"istartswith"
:
"LIKE UPPER(?)"
,
"istartswith"
:
"LIKE UPPER(?)"
,
...
...
orm/db_sqlite.go
View file @
27b452cd
...
@@ -29,6 +29,8 @@ var sqliteOperators = map[string]string{
...
@@ -29,6 +29,8 @@ var sqliteOperators = map[string]string{
"gte"
:
">= ?"
,
"gte"
:
">= ?"
,
"lt"
:
"< ?"
,
"lt"
:
"< ?"
,
"lte"
:
"<= ?"
,
"lte"
:
"<= ?"
,
"eq"
:
"= ?"
,
"ne"
:
"!= ?"
,
"startswith"
:
"LIKE ? ESCAPE '
\\
'"
,
"startswith"
:
"LIKE ? ESCAPE '
\\
'"
,
"endswith"
:
"LIKE ? ESCAPE '
\\
'"
,
"endswith"
:
"LIKE ? ESCAPE '
\\
'"
,
"istartswith"
:
"LIKE ? ESCAPE '
\\
'"
,
"istartswith"
:
"LIKE ? ESCAPE '
\\
'"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment