mirror of
				https://github.com/chaisql/chai.git
				synced 2025-10-31 19:02:48 +08:00 
			
		
		
		
	db: introduce row type
This commit is contained in:
		| @@ -3,12 +3,12 @@ package parser_test | ||||
| import ( | ||||
| 	"testing" | ||||
|  | ||||
| 	"github.com/genjidb/genji/document" | ||||
| 	"github.com/genjidb/genji/internal/database" | ||||
| 	"github.com/genjidb/genji/internal/expr" | ||||
| 	"github.com/genjidb/genji/internal/query/statement" | ||||
| 	"github.com/genjidb/genji/internal/sql/parser" | ||||
| 	"github.com/genjidb/genji/internal/testutil/assert" | ||||
| 	"github.com/genjidb/genji/object" | ||||
| 	"github.com/genjidb/genji/types" | ||||
| 	"github.com/stretchr/testify/require" | ||||
| ) | ||||
| @@ -76,7 +76,7 @@ func TestParserAlterTableAddField(t *testing.T) { | ||||
| 			}, | ||||
| 			TableConstraints: database.TableConstraints{ | ||||
| 				&database.TableConstraint{ | ||||
| 					Paths:      document.Paths{document.NewPath("bar")}, | ||||
| 					Paths:      object.Paths{object.NewPath("bar")}, | ||||
| 					PrimaryKey: true, | ||||
| 				}, | ||||
| 			}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Asdine El Hrychy
					Asdine El Hrychy