SELECT * FROM users LIMIT 1; // Get last record, ordered by primary key desc db.Last(&user) // SELECT * FROM users ORDER BY id DESC LIMIT 1;
確定! 回上一頁