Lunny Xiao
4cde28ca21
Use any instead of interface{} ( #2360 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2360
2023-10-28 10:59:32 +00:00
Lunny Xiao
42553b7477
Remove cache features ( #2347 )
...
The cache feature is not used frequently but needs more time to maintain.
I think there are many machism to handle the cache out of ORM. So let's remove it.
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2347
2023-10-27 15:48:07 +00:00
Lunny Xiao
82faf6c301
start v2 ( #2350 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2350
2023-10-27 14:27:46 +00:00
Lunny Xiao
05a8643056
Remove mymysql driver since it's unmaintained for a long time ( #2349 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2349
2023-10-27 09:21:35 +00:00
Lunny Xiao
3b53a5f847
upgrade dependencies ( #2223 )
...
Fix #2209
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2223
2023-07-12 11:06:39 +00:00
jamlacey
0c9963c637
Add support for go-ora driver ( #2215 )
...
Co-authored-by: James Lacey <jamlacey@gmail.com>
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2215
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: jamlacey <jamlacey@noreply.gitea.io>
Co-committed-by: jamlacey <jamlacey@noreply.gitea.io>
2023-02-04 21:24:29 +08:00
Lunny Xiao
a2d3669edf
Add README and fix some lints ( #2079 )
...
as title.
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2079
2021-12-14 09:00:35 +08:00
RenKanai
5feff03a17
Fix README.md: Sync2 -> Sync ( #2065 )
...
Co-authored-by: rennnosuke <rennnosuke@noreply.gitea.io>
Co-authored-by: RenKanai <turutekab@gmail.com>
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2065
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: RenKanai <rennnosuke@noreply.gitea.io>
Co-committed-by: RenKanai <rennnosuke@noreply.gitea.io>
2021-10-29 17:31:07 +08:00
Lunny Xiao
0a429a241d
Drop sync function and rename sync2 to sync ( #2018 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2018
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-24 17:13:17 +08:00
Lunny Xiao
d92fb412ee
Make Get and Rows.Scan accept multiple parameters ( #2029 )
...
Now the below behaviours are allowed.
```Go
var id int64
var name string
has, err := engine.Table(&user).Cols("id", "name").Get(&id, &name)
// SELECT id, name FROM user LIMIT 1
```
```Go
rows, err := engine.Cols("name", "age").Rows(&User{Name:name})
// SELECT * FROM user
defer rows.Close()
for rows.Next() {
var name string
var age int
err = rows.Scan(&name, &age)
}
```
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2029
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-24 15:42:34 +08:00
Lunny Xiao
fae164488c
Fix problem on README ( #2028 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2028
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-08 15:35:44 +08:00
Lunny Xiao
bd1ca33ea5
Update docs for pgx ( #2024 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2024
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-05 14:47:25 +08:00
Lunny Xiao
0f3f4ea7fb
Update docs ( #2003 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2003
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-21 19:17:50 +08:00
Lunny Xiao
8f64a78cd4
Support delete with no bean ( #1926 )
...
Now you can use delete like this:
```
orm.Table("my_table").Where("id=?",1).Delete()
```
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1926
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-06 17:11:45 +08:00
sylba2050
4a6b8c29bf
Fix typo ( #1748 )
...
Fix typo
Co-authored-by: Masataka Hisasue <masataka.hisasue@optim.co.jp>
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1748
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-07-27 09:29:33 +00:00
Lunny Xiao
08a18027a0
Update README badges
2020-06-13 13:37:43 +08:00
Lunny Xiao
5d90695511
update discuss forum new address ( #1638 )
...
update discuss forum new address
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1638
2020-03-28 02:24:39 +00:00
Lunny Xiao
79bdda3cf1
Move all integrations tests to a standalone sub package ( #1635 )
...
Fix vet
Remove unused files
Move all integrations tests to a standalone sub package
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1635
2020-03-27 07:13:04 +00:00
Lunny Xiao
5575e839df
Add changelog for v1.0.0 ( #1614 )
...
Add changelog for v1.0.0
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1614
2020-03-22 06:28:25 +00:00
Lunny Xiao
00b65c6d99
Update README ( #1582 )
...
Remove version
Update README
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1582
2020-03-08 06:10:05 +00:00
Lunny Xiao
c13117f0e6
Fix outdate changelog ( #1565 )
...
Fix outdate changelog
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1565
2020-02-29 09:30:26 +00:00
Lunny Xiao
0090e33224
Fix go mod and update version ( #1460 )
2019-10-16 06:55:10 +00:00
Lunny Xiao
b81aa40128
Move github.com/go-xorm/xorm to xorm.io/xorm ( #1459 )
2019-10-15 05:15:41 +00:00
BetaCat
9b08f9494f
document of FindAndCount() ( #1365 )
2019-07-24 13:02:59 +08:00
Lunny Xiao
c9b14f9487
move depends package from github.com to customize domain ( #1327 )
2019-06-17 13:38:13 +08:00
yanser
c790592482
Update README.md file ( #1246 )
...
Update README
2019-03-09 23:07:35 +08:00
faith
e410f04aaf
Update README.md ( #1228 )
...
sess 修改为 session
2019-02-13 14:43:01 +08:00
Lunny Xiao
7a9249de33
Get adds context cache feature ( #1102 )
...
* context
* add context cache feature
* remove global context cache
* remove global context cache
* reset statment
* fix bug
* remove unused params
* refactor ContextCache
* refactor ContextCache
* update README
* update README
* disable global cache on context cache test
2018-09-25 21:31:44 +08:00
Lunny Xiao
d85bb4911c
add opencollective ( #926 )
2018-05-04 13:45:50 +08:00
Lunny Xiao
fc1b13e0d8
v0.6.6
2018-04-13 17:45:25 +08:00
Lunny Xiao
e98616d656
update README
2018-04-10 10:18:32 +08:00
Lunny Xiao
60090fa5e0
update README
2018-02-27 11:18:10 +08:00
Loli
caab56ac7e
docs(README): fix limit sql ( #830 )
2018-01-22 05:33:52 -06:00
Lunny Xiao
1933dd69e2
update READMEs
2017-12-04 22:05:36 +08:00
Lunny Xiao
4a4bac517d
update README
2017-12-04 21:54:38 +08:00
Lunny Xiao
16930c1be7
update READMEs
2017-12-02 10:47:03 +08:00
ming
a620571388
Add a missing dot ( #767 )
2017-11-01 08:41:20 +08:00
Yuki Takemoto
d2ffc61745
Fix broken link in README.md ( #688 )
2017-08-27 21:58:05 +08:00
Lunny Xiao
4e7d9706bd
add new case stduygolang
2017-08-13 21:19:20 +08:00
lucapette
10faec1e58
Fix typo ( #672 )
2017-08-02 10:39:46 +08:00
Lunny Xiao
774f83c1bc
add Exist functions ( #640 )
2017-07-14 09:20:13 +08:00
Yang Luo
78795d8f13
add Xorm Adapter for Casbin as cases ( #639 )
2017-07-11 22:53:39 +08:00
Lunny Xiao
e11235316c
change chatroom from gitter to discord
2017-06-12 11:16:18 +08:00
Lunny Xiao
6278427ee6
change ci badage
2017-05-27 10:56:35 +08:00
Lunny Xiao
6992e40a84
update CI config
2017-05-26 15:53:09 +08:00
Lunny Xiao
5497f76c84
add QueryString support
2017-04-01 10:35:27 +08:00
Lunny Xiao
5ebae720bd
add Scan features to Get method
2017-04-01 10:09:00 +08:00
Lunny Xiao
0691bf9b03
since we use vendor directory, remove gopm installation support
2017-03-26 09:51:24 +08:00
Lunny Xiao
1ae959721f
improved readme badges
2016-12-13 15:04:09 +08:00
Lunny Xiao
4e70730c67
change readme build status to circleci
2016-12-13 14:33:40 +08:00