drizzle-seed 0.3.2-905c951 → 0.3.2-f8a2f3c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs CHANGED
@@ -135573,7 +135573,7 @@ async function seedForDrizzleStudio({ sqlDialect, drizzleStudioObject, drizzleSt
135573
135573
  * // seeding with count and seed specified
135574
135574
  * await seed(db, schema, { count: 100000, seed: 1 });
135575
135575
  *
135576
- * //seeding using refine
135576
+ * // seeding using refine
135577
135577
  * await seed(db, schema, { count: 1000 }).refine((funcs) => ({
135578
135578
  * users: {
135579
135579
  * columns: {
@@ -135594,6 +135594,17 @@ async function seedForDrizzleStudio({ sqlDialect, drizzleStudioObject, drizzleSt
135594
135594
  * },
135595
135595
  * }));
135596
135596
  *
135597
+ * // seeding while ignoring column
135598
+ * await seed(db, schema).refine((funcs) => ({
135599
+ * users: {
135600
+ * count: 5,
135601
+ * columns: {
135602
+ * name: funcs.fullName(),
135603
+ * photo: false, // the photo column will not be seeded, allowing the database to use its default value.
135604
+ * },
135605
+ * },
135606
+ * }));
135607
+ *
135597
135608
  * ```
135598
135609
  */
135599
135610
  function seed(db, schema, options) {