# $buildMany

Create multiple records in the table at once. The $buildMany method is used to insert multiple entries into the database in a single operation by providing an array of data objects. This method ensures that all data is validated against the schema before saving, making it efficient for batch insert operations.

```typescript
var members = await Member.$buildMany([
    {
        isPremium: true,
        userId: '1234567890',
        username: 'fivesobes',
        lastJoinedAt: new Date()
    },
    {
        isPremium: false,
        userId: '0987654321',
        username: 'Bes-js',
        lastJoinedAt: new Date(),
        displayName: 'Five So Beş',
        badges: ['VIP','CEO','Owner','PRIME']
    }
]);
```
