Skip to content

The db.Find(&list) is not work? #14

@jimmygan

Description

@jimmygan

err := q.Model(&model.Test{}).Where("id > ?", lastId).Offset(0).Limit(100).Order("id asc").Find(&files).Error

The files value remains nil after this method is executed. What's going on?

This issue didn't exist in version 0.5.2.

GOVERSION=go1.24.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions