mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-01 09:50:26 +01:00
updated db pool limits, added logs VACUUM, updated api docs
This commit is contained in:
1 parent
39dc1d2795
commit
521df149a2
64 files changed
+650
-751
No files matched your search
+1
-1
@@ -99,7 +99,7 @@ func (dao *Dao) FindRecordsByIds(
|
||||
//
|
||||
// Example:
|
||||
// expr1 := dbx.HashExp{"email": "test@example.com"}
|
||||
// expr2 := dbx.HashExp{"status": "active"}
|
||||
// expr2 := dbx.NewExp("LOWER(username) = {:username}", dbx.Params{"username": "test"})
|
||||
// dao.FindRecordsByExpr("example", expr1, expr2)
|
||||
func (dao *Dao) FindRecordsByExpr(collectionNameOrId string, exprs ...dbx.Expression) ([]*models.Record, error) {
|
||||
collection, err := dao.FindCollectionByNameOrId(collectionNameOrId)
|
||||
|
||||
Reference in new issue
Block a user